B2.Body:setAngularVelocity

Revision as of 10:27, 24 August 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