static cpFloat getImpulse(cpGrooveJoint *joint) { return cpvlength(joint->jAcc); }
static cpFloat getImpulse(cpConstraint *joint) { return cpvlength(((cpPivotJoint *)joint)->jAcc); }