Shape:getOrientation

Edit

Get the orientation of the Shape relative to its Collider.

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

Arguments

None

Returns

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

See also