I want to join five onbjects using weld joints, but the code for weld joint only allows two objects at one time. How can I use it to create a weld joint on five bodies?
Syntax for weld joint:
physics.newJoint( “weld”, object1, object2, anchorX, anchorY )