R/cpConstraint.R
cpConstraintSetMaxForce.Rd
Set the maximum force that this constraint is allowed to use. (defaults to INFINITY)
cpConstraintSetMaxForce(constraint, maxForce)
constraint | [ |
---|---|
maxForce | [ |
C function prototype: CP_EXPORT void cpConstraintSetMaxForce(cpConstraint *constraint, cpFloat maxForce);