lovr.headset.getOrientation

Returns the current orientation of the headset.

angle, ax, ay, az = lovr.headset.getOrientation()

Arguments

None

Returns

NameTypeDescription
anglenumberThe amount of rotation around the axis of rotation.
axnumberThe x component of the axis of rotation.
aynumberThe y component of the axis of rotation.
aznumberThe z component of the axis of rotation.

See also