new Box2dDistanceJoint(objectA, objectB, anchorA, anchorB, collide)box2d.js:1500Create a distance joint
objectABox2dObjectobjectBBox2dObjectanchorAVector2 optionalWorld position, objectA's position if not given
anchorBVector2 optionalWorld position, objectB's position if not given
collideboolean optional, default false