Shape:setOrientation
EditSet the orientation of the Shape relative to its Collider.
Set the orientation of the Shape using numbers.
Arguments
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. |
Returns
Nothing
Set the orientation of the Shape using a quaternion.
Arguments
Name | Type | Description |
orientation | Quat | The orientation of the Shape. |
Returns
Nothing
Notes
If the Shape isn't attached to a Collider, this will error.