Snake Game reference help


OK I am not doing a snake game. Every time my character collides with an object (an asteroid), I need a smaller version of said asteroid to append itself to my character. I am able to do this, but the part I am experiencing trouble with is how to precisely position each new asteroid. I would like them all to follow the lead character in a line (hence the Snake reference). I am also using Character Joint for the instantiated ones.

I would appreciate if anyone has any idea about how to instantiate objects on a straight line behind this character, knowing that I am using the 3D space…

Please :frowning: It is giving me BIG headaches =)

If you really want a straight line, Transform.forward, take the negative of that, it’s backward, then multiply by the distance you want it back there, that should be the position to use.