Add a constraint to the simulation.

cpSpaceAddConstraint(space, constraint)

Arguments

space

[cpSpace *]

constraint

[cpConstraint *]

Details

C function prototype: CP_EXPORT void cpSpaceAddConstraint(cpSpace *space, cpConstraint *constraint);