CreateDistanceJoint [RCBasic Doc]

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 (local coordinates)
- bX, bY - Anchor point on spriteB (local coordinates)