B2.Body:setAngularVelocity: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 2: Line 2:
'''Available since:''' Gideros 2011.6<br/>
'''Available since:''' Gideros 2011.6<br/>
=== Description ===
=== Description ===
<br />
<translate><br />
Sets the angular velocity.<br />
Sets the angular velocity.<br />
<br />
<br /></translate>
<source lang="lua">
<source lang="lua">
  b2.Body:setAngularVelocity(omega)
  b2.Body:setAngularVelocity(omega)
</source>
</source>
=== Parameters ===
=== Parameters ===
'''omega''': (number) the new angular velocity in radians/second <br/>
'''omega''': (number) <translate>the new angular velocity in radians/second</translate> <br/>

Revision as of 12:32, 23 August 2018

Available since: Gideros 2011.6

Description


Sets the angular velocity.

 b2.Body:setAngularVelocity(omega)

Parameters

omega: (number) the new angular velocity in radians/second