Set the angular velocity of the body.

cpBodySetAngularVelocity(body, angularVelocity)

Arguments

body

[cpBody *]

angularVelocity

[cpFloat]

Details

C function prototype: CP_EXPORT void cpBodySetAngularVelocity(cpBody *body, cpFloat angularVelocity);