Advanced NavMesh Usage - Beyond Simple SetDestination | Unity Tutorial
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 👨💻Get my NEW Unity Real Time Strategy course: https://www.gamedev.tv/courses/unity-realtime-strategy?ref=mjuzyjq 🙏 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. 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.
Download
1 formatsVideo Formats
Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.