this is some source code that you can use to make several objec follow each other in a line. I used it in my snake game in the 20 line callange. It should work, Even though this one hasn't been tested. If there are any problems, it's probably with the camera.