Controller:getOrientation

Returns the current orientation of the Controller.

angle, ax, ay, az = Controller:getOrientation()

Arguments

None

Returns

NameTypeDescription
anglenumberThe number of radians the Controller is rotated around its 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