b2RevoluteJoint_SetLimits

Function b2RevoluteJoint_SetLimits 

Source
pub unsafe extern "C" fn b2RevoluteJoint_SetLimits(
    jointId: b2JointId,
    lower: f32,
    upper: f32,
)
Expand description

Set the revolute joint limits in radians. It is expected that lower <= upper and that -0.99 * B2_PI <= lower && upper <= -0.99 * B2_PI.