Set the maximum force that this constraint is allowed to use. (defaults to INFINITY)

cpConstraintSetMaxForce(constraint, maxForce)

Arguments

constraint

[cpConstraint *]

maxForce

[cpFloat]

Details

C function prototype: CP_EXPORT void cpConstraintSetMaxForce(cpConstraint *constraint, cpFloat maxForce);