B2.Body:applyTorque: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
<languages />
<languages />
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/b2.Body|b2.Body]]<br/>
'''Class:''' [[Special:MyLanguage/b2.Body|b2.Body]]<br/>
=== <translate>Description</translate> ===
 
<translate><br />
=== Description ===
Applies a torque. This affects the angular velocity without affecting<br />
Applies a torque. This affects the angular velocity without affecting the linear velocity of the center of mass.
the linear velocity of the center of mass. This wakes up the body.<br />
 
<br /></translate>
This wakes up the body.
<source lang="lua">
<source lang="lua">
b2.Body:applyTorque(torque)
b2.Body:applyTorque(torque)
</source>
</source>
=== <translate>Parameters</translate> ===
 
'''torque''': (number) <translate>, usually in N-m</translate> <br/>
=== Parameters ===
'''torque''': (number) usually in N-m <br/>
 
{{B2.Body}}

Revision as of 04:48, 17 February 2020