B2.Body:setAngularVelocity

From GiderosMobile
Revision as of 14:32, 23 August 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

Description


Sets the angular velocity.

 b2.Body:setAngularVelocity(omega)

Parameters

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