Collider:getOrientation
EditReturns the orientation of the Collider in angle/axis representation.
angle, ax, ay, az = Collider:getOrientation()Arguments
None
Returns
| Name | Type | Description |
| angle | number | The number of radians the Collider is rotated around its axis of rotation. |
| ax | number | The x component of the axis of rotation. |
| ay | number | The y component of the axis of rotation. |
| az | number | The z component of the axis of rotation. |
Notes
If World:interpolate has been called, this returns an interpolated orientation between the last two physics updates.