B2.Body:setAngularVelocity: Difference between revisions
From GiderosMobile
No edit summary |
No edit summary |
||
| Line 8: | Line 8: | ||
b2.Body:setAngularVelocity(omega) | b2.Body:setAngularVelocity(omega) | ||
</source> | </source> | ||
'''omega''': (number) the new angular velocity in radians/second | === Parameters === | ||
'''omega''': (number) the new angular velocity in radians/second <br/> | |||
Revision as of 09:36, 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