self = physics.Body:setTorque(torque)
|
Parameter |
Type |
Description |
|---|---|---|
|
self |
in physics.Body |
The input Body |
|
torque |
in number |
The torque of the Body |
|
self |
out physics.Body |
The input Body is returned as the output |
Updates the torque on the body. Torque is a numeric magnitude.
Returns the Body.
Introduced in platform.apiLevel = '2.0'