function createDistanceJoint( spriteA, spriteB, aX, aY, bX, bY, collide_connect)
Creates a distance joint
A distance joint constrains two points on two bodies to remain at a fixed distance from each other. You can view this as a massless, rigid rod.
Parameters
-
spriteA - first body
-
spriteB - second body
-
aX, aY - Anchor point on spriteA
-
bX, bY - Anchor point on spriteB