- Home /
Question by
nadeemd · Jul 12, 2013 at 07:03 PM ·
follow pathpathfind
How do I make a model/character follow a Path?
So I created a Pathfinder (from AngryAnt) and it works quite well with showing me possible paths to get from point A to point B, but I was wondering if there was a way to make it so that a 3d model could walk this path? For example: A car would drive along this path.
If that sounds super basic to anyone I am sorry, I'm just new to Unity.
Thanks
Comment
Answer by Stormizin · Jul 12, 2013 at 07:18 PM
Get the Vector3 position of the path, then make the car transform.Translate following the path you seted before.
I'm quite poor at scripting, do you know where I could find that pre-made? and I'm not sure how to find the vector3? because the path only comes up in play-mode...thanks