Shape:getOrientation
EditGet the orientation of the Shape relative to its Collider.
angle, ax, ay, az = Shape:getOrientation()
Arguments
None
Returns
Name | Type | Description |
angle | number | The number of radians the Shape is rotated. |
ax | number | The x component of the rotation axis. |
ay | number | The y component of the rotation axis. |
az | number | The z component of the rotation axis. |
See also
Shape:getPosition
Shape:setPosition
Shape:setOrientation
Shape