Set Base Rotation and Base Offset in Meters
This Blueprint specifies the current rotation and position of the headset, related to the base rotation and position, expressed in apparent meters.
The base offset is the translational difference between the current position of the headset and the base position. You can read this value using
Get Base Rotation and Base Offset in Meters. The system expresses this as an
FVector
construct that translates the headset position into the (0,0,0) point in meters. The axes of the vector are the same as for Unreal:
- X is forward.
- Y is right.
- Z is up.
Similarly, the base rotation offset is the rotational difference between the current rotation of the headset and the base rotation, which you can read by using
Get Base Rotation and Base Offset in Meters. The system expresses this value as an
FRotator
construct with the following properties:
When the user recenters the headset from the original center of the tracking space, the base offset is the delta from the center of the tracking space to the new center of the game space (or “world space”).
This Blueprint expresses its values in meters. In each Unreal Engine world, you can define the scale factor of the world, which scales everything in the world consistently. By default, the scale factor is 100, which means the system expresses values in centimeters instead of meters. But you can use any scale factor you wish. For example, when loading splash screens.
Rotation: The rotational difference between the current rotation of the headset and the base rotation you wish to apply. The system expresses this value as an FRotator
construct with the properties:
Base Offset in Meters: The translational difference between the current position of the headset and the base position you wish to apply. The system expresses this value as an FVector
construct that translates the headset position into the (0,0,0) point in meters.
Options: You can select from:
- Orientation (rotation).
- Position (base offset).
- Both the orientation and the position.
No output.