Difference between revisions of "B2.Body:applyTorque"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
Applies a torque. This affects the angular velocity without affecting<br />
 
Applies a torque. This affects the angular velocity without affecting<br />
Line 9: Line 9:
 
  b2.Body:applyTorque(torque)
 
  b2.Body:applyTorque(torque)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''torque''': (number) <translate>, usually in N-m</translate> <br/>
 
'''torque''': (number) <translate>, usually in N-m</translate> <br/>

Revision as of 07:27, 24 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