B2.Body:applyTorque: Difference between revisions
From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Applies a torque. This affects the angular velocity without affecting<br /> the linear velocity..." |
No edit summary |
||
| Line 7: | Line 7: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
b2.Body:applyTorque(torque) | |||
</source> | </source> | ||
'''torque | '''torque''': (number) , usually in N-m ''''''<br/> | ||
Revision as of 09:16, 23 August 2018
Available since: Gideros 2011.6
Description
Applies a torque. This affects the angular velocity without affecting
the linear velocity of the center of mass. This wakes up the body.
b2.Body:applyTorque(torque)
'torque: (number) , usually in N-m '