Hello people. I'm trying to do a "chain effect", the idea is that the "coins" behind the player repeat his movement, I'm trying to do it using physics, but it doesn't work, does anyone have any tips on how to do this?
(I recorded a GIF of the result of my game)
media.giphy.com/media/Qsh92J8kc2jzrbTKlg/giphy.gif
Develop games in your browser. Powerful, performant & highly capable.
Pin behavior, Rope style - might be what you are looking for
Or something like this:
On every tick For each Coin ordered by Coin.Y Coin set x to lerp(self.x, Player.x, dt*10/(loopindex+1))
Physics behavior is definitely not a good choice here.