Set the torque applied to the body for the next time step.

cpBodySetTorque(body, torque)

Arguments

body

[cpBody *]

torque

[cpFloat]

Details

C function prototype: CP_EXPORT void cpBodySetTorque(cpBody *body, cpFloat torque);