Advanced NavMesh Usage - Beyond Simple SetDestination




Published: 15 Jul 2025

Learn more advanced ways of making your Game AI move on a NavMesh. Most tutorials focus on "NavMeshAgent.SetDestination(other.transform.position);" which gets you up and running quickly, but also has limits on its usefulness. In this tutorial you'll see how to make your Game AI move towards units that it can never reach, pick better target locations, and even distance check across different NavMeshes.


๐Ÿ‘จโ€๐Ÿ’ป As always, all code from this video is available on GitHub: https://github.com/llamacademy/dino-attack

๐ŸŽฎ Play the full game for FREE on Itch: https://llamacademy.itch.io/dino-attack


๐Ÿ™ Support LlamAcademy & polyperfect by purchasing these assets!

๐Ÿฆ– polyperfect Dino Pack: https://assetstore.unity.com/packages/3d/characters/animals/low-poly-animated-dinosaurs-110313?aid=1101l9QvC

โญ polyperfect Ultimate Pack: https://assetstore.unity.com/packages/3d/props/low-poly-ultimate-pack-54733?aid=1101l9QvC


๐Ÿ”ถ Stay up to date with all things LlamAcademy at https://llamacademy.dev including latest tutorials, courses, and more!


๐Ÿท๏ธSave 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly


๐Ÿ“š Resources:

๐ŸŸ  AI Series Playlist - Learn all about the NavMesh: https://www.youtube.com/playlist?list=PLllNmP7eq6TSkwDN8OO0E8S6CWybSE_xC

๐ŸŸ  Unity Behavior Playlist - Learn all about Unity Behavior, the FREE Behavior Tree Package from Unity: https://www.youtube.com/playlist?list=PLllNmP7eq6TR0v1XC7UnIPvH5chSepES2

๐ŸŸ  Learn more about how Dino Attack was made: https://www.youtube.com/playlist?list=PLllNmP7eq6TRC1QtErorKKXUOtlxGEsem


๐Ÿงก Believe in LlamAcademy's mission and have received value from the videos? Here's how you can show your support:

๐Ÿงก Patreon: https://www.patreon.com/llamacademy

๐Ÿงก YouTube Member: https://www.youtube.com/channel/UCnWm6pMD38R1E2vCAByGb6w/join or click the Join button on any video


Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.


Connect on Social Media

Some links may be affiliate links, which at no additional cost to you, gives LlamAcademy a small portion of the purchase.