Collider:applyTorque
Applies torque to the Collider.
Collider:applyTorque(x, y, z)
Arguments
Name | Type | Description |
x | number | The x component of the torque. |
y | number | The y component of the torque. |
z | number | The z component of the torque. |
Returns
Nothing
Notes
If the Collider is asleep, it will need to be woken up with Collider:setAwake
for this function to have any affect.
See also
Collider:applyForce
Collider