Get Base Rotation and Base Offset in Meters
This Blueprint returns the current rotation and position of the headset as compared with the most recent base rotation and position using meters.
The base offset is the translational difference between the current position of the headset and the most recent base position set using
Set Base Rotation and Base Offset in Meters. It is a vector 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, and Z is up.
Similarly, the base rotation offset is the rotational difference between the current rotation of the headset and the most recent base rotation set using
Set Base Rotation and Base Offset in Meters. It is an
FRotator object with Pitch, Roll, and Yaw 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 and uses centimeters instead of meters. But you can use any scale factor. For example, when you load splash screens.
No arguments.
- Out Rotation: This value is the rotational difference between the current rotation of the headset and the most recent base rotation set using Set Base Rotation and Base Offset in Meters. It is an
FRotator construct with Pitch, Roll, and Yaw properties. - Out Base Offset in Meters: This value is the difference between the current position of the headset and the most recent base position set using Set Base Rotation and Base Offset in Meters. This value is an
FVector construct that translates the headset position into the (0,0,0) point in meters.