- Home /
Spawn object and move along a path
Hello.
In my project a car spawns at road every 30 seconds. And i want them to follow the road(my path.)
My question is:
What is the easiest way to make objects follow a path; and how to make it?
Thanks.
Comment
i have the same problem with having somthing follow a path, if i find anything i will post it as an answer, to your question good luck :)
Answer by whydoidoit · Jun 06, 2012 at 07:44 AM
I do car - road following using my code here - you want to use MoveOnPath so that you can get a variable speed I would imagine.
Your answer
![](https://koobas.hobune.stream/wayback/20220613064219im_/https://answers.unity.com/themes/thub/images/avi.jpg)