Active NavMeshAgent Avoidance - Run Away From or Around a Target




Published: 30 Apr 2024

AI pathfinding avoidance can be tricky. In this video you'll learn the basics of enhancing the built-in NavMeshAgent avoidance to have them walk around some targets or even run completely away from them!


🔶 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: https://github.com/llamacademy/chicken-defense

🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly


📚 Resources:

🟠 NavMeshAgent Docs: https://docs.unity3d.com/2023.1/Documentation/Manual/nav-InnerWorkings.html & https://docs.unity3d.com/2023.1/Documentation/ScriptReference/AI.NavMeshAgent.html

🟠 RVO2 Docs: https://gamma.cs.unc.edu/RVO2/

🟠 Chicken Defense on Itch.io: https://llamacademy.itch.io/chicken-defense


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.