How do I make a centipede/conga line out of game objects?
So I'm making a small tank game involving two lines of tanks that all follow the leader (if the leader/individual tanks die, the next tank will take its place). I have created the basic movement for the first tank (I used transform.position and transform.forward as well as rotations) but I actually have no idea as to how to get each other tank in the line to follow the proceeding one. I was thinking of creating an array of gameObjects but when I was researching I couldn't find anything of that nature. I'm a beginner programmer and unity3d user and was looking for some guidance as to how to continue. Any help or thoughts would be stellar.
Thanks
Your answer
![](https://koobas.hobune.stream/wayback/20220612063844im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to transform many copies of a mesh object into many copies of same prefab? 0 Answers
Map Creator in game. 0 Answers
prefabs break movement scripts, 0 Answers
NPCs to look in the direction the target is 0 Answers
Skid steer type movement 1 Answer