Files
RCBASIC4/doc/files/createdistancejoint.txt
2026-02-26 15:33:51 -06:00

16 lines
464 B
Plaintext

#title CreateDistanceJoint [RCBasic Doc]
#header 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
#list ul
#li spriteA - first body
#li spriteB - second body
#li aX, aY - Anchor point on spriteA
#li bX, bY - Anchor point on spriteB
#/list