B2.Body:setAngularVelocity: Difference between revisions
From GiderosMobile
Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Sets the angular velocity.<br /> <br /> <source lang="lua"> = b2.Body:setAngularVelocity(omega,..." |
No edit summary |
||
| Line 6: | Line 6: | ||
<br /> | <br /> | ||
<source lang="lua"> | <source lang="lua"> | ||
b2.Body:setAngularVelocity(omega) | |||
</source> | </source> | ||
'''omega:''' (number) the new angular velocity in radians/second ''''''<br/> | '''omega:''' (number) the new angular velocity in radians/second ''''''<br/> | ||
Revision as of 09:11, 23 August 2018
Available since: Gideros 2011.6
Description
Sets the angular velocity.
b2.Body:setAngularVelocity(omega)
'omega: (number) the new angular velocity in radians/second '