Controller:getPose

Returns the current position and orientation of the Controller.

x, y, z, angle, ax, ay, az = Controller:getPose()

Arguments

None

Returns

NameTypeDescription
xnumberThe x position of the Controller.
ynumberThe y position of the Controller.
znumberThe z position of the Controller.
anglenumberThe number of radians the Collider 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.

Notes

Units are in meters.

See also