Since you're going to have a stream of cars, maybe you could declare your cars as an array of 3D objects and set the callback for the proximity to be the car next accordingly.
Refer to the
proximity sensors section of the documentation for examples of how to use proximity callbacks.
Also if you don't want your objects to overlap you can turn on collision.