Search Unity

  1. Unity 2018.3 is now released.
    Dismiss Notice
  2. The Unity Pro & Visual Studio Professional Bundle gives you the tools you need to develop faster & collaborate more efficiently. Learn more.
    Dismiss Notice
  3. Our response to Improbable’s blog post (and why you can keep working on your SpatialOS game). Read more here
    Dismiss Notice
  4. Want to provide direct feedback to the Unity team? Join the Unity Advisory Panel.
    Dismiss Notice
  5. Improve your Unity skills with a certified instructor in a private, interactive classroom. Watch the overview now.
    Dismiss Notice

How to make object move on predefined path?

Discussion in 'Physics' started by JoseUB, Jan 8, 2019.

  1. JoseUB

    JoseUB

    Joined:
    Nov 21, 2011
    Posts:
    5
    Hello!

    How can I make my truck turn left on intersection? Even if I add some simple controls like gas/brake, it should move only on predefined path, like on rails. Thank you!

     
  2. WashingMachine

    WashingMachine

    Unity Technologies

    Joined:
    Mar 23, 2017
    Posts:
    24
    Have you thought about using a Navigation Mesh and a Navigation Agent for the truck?
     
    JoseUB likes this.
  3. JoseUB

    JoseUB

    Joined:
    Nov 21, 2011
    Posts:
    5
    Thank you so much! I think that is the solution to my problem))