Collider:getOrientation

Edit

Returns the orientation of the Collider in angle/axis representation.

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

Arguments

None

Returns

NameTypeDescription
anglenumber The number of radians the Collider is rotated around its axis of rotation.
axnumber The x component of the axis of rotation.
aynumber The y component of the axis of rotation.
aznumber The z component of the axis of rotation.

See also