Collider:setOrientation
EditSets the orientation of the Collider in angle/axis representation.
Set the orientation of the Collider using numbers.
Arguments
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. |
Returns
Nothing
Set the orientation of the Collider using a quaternion.
Arguments
Name | Type | Description |
orientation | Quat | The orientation of the Collider. |
Returns
Nothing