B2.Body:applyTorque: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 9: Line 9:
  b2.Body:applyTorque(torque)
  b2.Body:applyTorque(torque)
</source>
</source>
'''torque''': (number) , usually in N-m ''''''<br/>
=== Parameters ===
'''torque''': (number) , usually in N-m <br/>

Revision as of 09:40, 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)

Parameters

torque: (number) , usually in N-m