B2.Body:setAngularVelocity
From GiderosMobile
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