Difference between revisions of "B2.Body:setAngularVelocity"

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 />
 
Sets the angular velocity.<br />
 
Sets the angular velocity.<br />
Line 8: Line 8:
 
  b2.Body:setAngularVelocity(omega)
 
  b2.Body:setAngularVelocity(omega)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''omega''': (number) <translate>the new angular velocity in radians/second</translate> <br/>
 
'''omega''': (number) <translate>the new angular velocity in radians/second</translate> <br/>

Revision as of 08:26, 24 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