Collider:setAngularVelocity
EditSets the angular velocity of the Collider.
Sets the angular velocity of the Collider using numbers.
Arguments
Name | Type | Description |
vx | number | The x component of the angular velocity. |
vy | number | The y component of the angular velocity. |
vz | number | The z component of the angular velocity. |
Returns
Nothing
Sets the angular velocity of the Collider using a vector.
Arguments
Name | Type | Description |
velocity | Vec3 | The angular velocity of the Collider. |
Returns
Nothing