Difference between revisions of "B2.Body:setAngularVelocity"

From GiderosMobile
(5 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
 +
<languages />
 
'''Available since:''' Gideros 2011.6<br/>
 
'''Available since:''' Gideros 2011.6<br/>
 +
'''Class:''' [[Special:MyLanguage/b2.Body|b2.Body]]<br/>
 +
 
=== Description ===
 
=== Description ===
<br />
+
Sets the angular velocity.
Sets the angular velocity.<br />
 
<br />
 
 
<source lang="lua">
 
<source lang="lua">
b2.Body:setAngularVelocity(omega)
+
b2.Body:setAngularVelocity(omega)
 
</source>
 
</source>
'''omega''': (number) the new angular velocity in radians/second ''''''<br/>
+
 
 +
=== Parameters ===
 +
'''omega''': (number) the new angular velocity in radians/second <br/>
 +
 
 +
{{B2.Body}}

Revision as of 06:25, 17 February 2020