I am looking for advice how to create a joint (physics object) to an object you don't know will exist.
For example, the user can choose: I want to have 7 sprites.
How do I create the action so that it attaches to certain sprite? (because in the action field you have to specifically select which sprite to attach the joint to)
put the sprites in a family, and give the family the physics behavior. then, you can make the joint to the instance the player chooses.
Develop games in your browser. Powerful, performant & highly capable.
I have that, but I guess I need to experiment more. :) Thanks!