|
cpBool | cpConstraintIsPivotJoint (const cpConstraint *constraint) |
| Check if a constraint is a slide joint.
|
|
cpPivotJoint * | cpPivotJointAlloc (void) |
| Allocate a pivot joint.
|
|
cpPivotJoint * | cpPivotJointInit (cpPivotJoint *joint, cpBody *a, cpBody *b, cpVect anchorA, cpVect anchorB) |
| Initialize a pivot joint.
|
|
cpConstraint * | cpPivotJointNew (cpBody *a, cpBody *b, cpVect pivot) |
| Allocate and initialize a pivot joint.
|
|
cpConstraint * | cpPivotJointNew2 (cpBody *a, cpBody *b, cpVect anchorA, cpVect anchorB) |
| Allocate and initialize a pivot joint with specific anchors.
|
|
cpVect | cpPivotJointGetAnchorA (const cpConstraint *constraint) |
| Get the location of the first anchor relative to the first body.
|
|
void | cpPivotJointSetAnchorA (cpConstraint *constraint, cpVect anchorA) |
| Set the location of the first anchor relative to the first body.
|
|
cpVect | cpPivotJointGetAnchorB (const cpConstraint *constraint) |
| Get the location of the second anchor relative to the second body.
|
|
void | cpPivotJointSetAnchorB (cpConstraint *constraint, cpVect anchorB) |
| Set the location of the second anchor relative to the second body.
|
|