Shape:getOrientation
EditGet the orientation of the Shape in world space, taking into account the position and orientation of the Collider it's attached to, if any. Shapes that aren't attached to a Collider will return their local offset.
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. |