lovr.headset.getPose

Returns the current position and orientation of the headset.

x, y, z, angle, ax, ay, az = lovr.headset.getPose()

Arguments

None

Returns

NameTypeDescription
xnumberThe x position.
ynumberThe y position.
znumberThe z position.
anglenumberThe amount of rotation around the axis of rotation, in radians.
axnumberThe x component of the axis of rotation.
aynumberThe y component of the axis of rotation.
aznumberThe z component of the axis of rotation.

Notes

Units are in meters.

See also