Search Unity

Tutorial - Curved NavMeshAgent Paths | AI Series Part 35

Discussion in 'Community Learning & Teaching' started by ChrisKurhan, Jan 4, 2022.

  1. ChrisKurhan

    ChrisKurhan

    Joined:
    Dec 28, 2015
    Posts:
    268


    Hey all! Happy #TutorialTuesday and Happy New Year!

    We're bringing in the new year strong with moving NavMeshAgents along curved paths! This is a cool way to make your agents move in a less "robotic" looking pattern. It's key to understand the concept of bezier curves for this, so make sure to check out the automatic line smoothing using bezier curves video from a few weeks ago if you aren't familiar!

    Since there are many configuration options both in terms of path smoothing and movement smoothing, check out the repo on github and play with the settings yourself (or even tweak the position of the tangents in the bezier curves!) to see what suits your game the best!
    As always, the full project is available on GitHub!

    If you're getting value from this series, please consider liking, subscribing, and sharing to help these tutorials reach and add value to even more people. New tutorials are posted every Tuesday!