B2.Body:setAngularVelocity

From GiderosMobile
Revision as of 09:57, 3 September 2018 by Hgy29 (talk | contribs)
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.


Available since: Gideros 2011.6
Class: b2.Body

Description


Sets the angular velocity.

 b2.Body:setAngularVelocity(omega)

Parameters

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