Uploaded July 2025 | Updated September 2026, 1 hour ago
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.
🎮 Play the full game for FREE on Itch: llamacademy.itch.io/dino-attack
🙏 Support LlamAcademy & polyperfect by purchasing these assets!
🦖 polyperfect Dino Pack: assetstore.unity.com/packages/3d/characters/animals/low-poly-animated-dinosaurs-110313?aid=1101l9QvC
⭐ polyperfect Ultimate Pack: assetstore.unity.com/packages/3d/props/low-poly-ultimate-pack-54733?aid=1101l9QvC
🔶 ALL THINGS LlamAcademy now available at: https://llamacademy.dev/support including latest tutorials, courses, ways to support, and more! Check it out 🙂
👨💻 Get the FULL FREE PROJECT on GitHub: github.com/llamacademy/dino-attack
🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: jetbrains.com/store/?section=personal&billing=yearly
📚 Resources:
🟠 AI Series Playlist - Learn all about the NavMesh: youtube.com/playlist?list=PLllNmP7eq6TSkwDN8OO0E8S6CWybSE_xC
🟠 Unity Behavior Playlist - Learn all about Unity Behavior, the FREE Behavior Tree Package from Unity: youtube.com/playlist?list=PLllNmP7eq6TR0v1XC7UnIPvH5chSepES2
🟠 Learn more about how Dino Attack was made: youtube.com/playlist?list=PLllNmP7eq6TRC1QtErorKKXUOtlxGEsem
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.
Chapters:
00:00 Topic Introduction & High-Level Solution
02:30 Move towards a target while staying on a platform | NavMesh.Raycast
06:40 Move towards a target when unable to fully get to the enemy unit
09:20 How to tell if an agent reached its destination
09:40 Key Takeaways & how to support this project.
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.
🎮 Play the full game for FREE on Itch: llamacademy.itch.io/dino-attack
🙏 Support LlamAcademy & polyperfect by purchasing these assets!
🦖 polyperfect Dino Pack: assetstore.unity.com/packages/3d/characters/animals/low-poly-animated-dinosaurs-110313?aid=1101l9QvC
⭐ polyperfect Ultimate Pack: assetstore.unity.com/packages/3d/props/low-poly-ultimate-pack-54733?aid=1101l9QvC
🔶 ALL THINGS LlamAcademy now available at: https://llamacademy.dev/support including latest tutorials, courses, ways to support, and more! Check it out 🙂
👨💻 Get the FULL FREE PROJECT on GitHub: github.com/llamacademy/dino-attack
🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: jetbrains.com/store/?section=personal&billing=yearly
📚 Resources:
🟠 AI Series Playlist - Learn all about the NavMesh: youtube.com/playlist?list=PLllNmP7eq6TSkwDN8OO0E8S6CWybSE_xC
🟠 Unity Behavior Playlist - Learn all about Unity Behavior, the FREE Behavior Tree Package from Unity: youtube.com/playlist?list=PLllNmP7eq6TR0v1XC7UnIPvH5chSepES2
🟠 Learn more about how Dino Attack was made: youtube.com/playlist?list=PLllNmP7eq6TRC1QtErorKKXUOtlxGEsem
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.
Chapters:
00:00 Topic Introduction & High-Level Solution
02:30 Move towards a target while staying on a platform | NavMesh.Raycast
06:40 Move towards a target when unable to fully get to the enemy unit
09:20 How to tell if an agent reached its destination
09:40 Key Takeaways & how to support this project.










