I'm trying to make a game where the user can drag parts to attach to the Ship.
The main challenge I'm running into is attaching the bodies into a single, fixed group so when the player thrusts around with the arrow keys, the other bodies stay in-place. I was looking into composites but I'm not sure how to use them in Phaser, looks pretty straight forward in standard MatterJS. I was also playing with constraints and joints but those seem to attach at one point between both bodies. I also tried adding two constrains, one at each edge but it seemed like the 2nd overwrote the 1st.
Any thoughts?
Here's my code playground - https://codepen.io/jurbank/pen/Mqqyow?editors=0011