Collider:applyTorque

Applies torque to the Collider.

Collider:applyTorque(x, y, z)

Arguments

NameTypeDescription
xnumberThe x component of the torque.
ynumberThe y component of the torque.
znumberThe 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