t = physics.Body:torque()
Parameter |
Type |
Description |
---|---|---|
self |
in physics.Body |
The input Body |
torque |
out number |
The torque on the Body |
Returns the torque on the Body.
Introduced in platform.apiLevel = '2.0'