Shape:getOrientation

Get the orientation of the Shape relative to its Collider.

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

Arguments

None

Returns

NameTypeDescription
anglenumberThe number of radians the Shape is rotated.
axnumberThe x component of the rotation axis.
aynumberThe y component of the rotation axis.
aznumberThe z component of the rotation axis.

See also