Set rate at which joint error is corrected. Defaults to pow(1.0 - 0.1, 60.0) meaning that it will correct 10% of the error every 1/60th of a second.

cpConstraintSetErrorBias(constraint, errorBias)

Arguments

constraint

[cpConstraint *]

errorBias

[cpFloat]

Details

C function prototype: CP_EXPORT void cpConstraintSetErrorBias(cpConstraint *constraint, cpFloat errorBias);