B2.Body:setAngularVelocity

From GiderosMobile
Revision as of 09:57, 3 September 2018 by Hgy29 (talk | contribs)


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