NavMeshAgent Avoidance in Depth - 5 Key Takeaways for Optimal Avoidance | AI Series Part 32

30,570
0
Published 2021-11-02
Learn how NavMeshAgent obstacle avoidance works... in DEPTH! In this deep dive into NavMeshAgent avoidance you'll learn 5 key takeaways for improving NavMeshAgent avoidance using the Unity Navigation System - no external assets needed!

Learn how:
⚫ NavMeshAgent Avoidance Quality influences avoidance
⚫ NavMesh Prediction Time values influence Agent avoidance
⚫ NavMesh Pathfinding Iterations Per Frame impacts NavMeshAgents
⚫ NavMeshSurface Bake Settings influence Agent pathfinding and avoidance

💸 Ongoing sales 💸
⚫ See all active asset sales on the Asset Store: assetstore.unity.com/?on_sale=true&orderBy=0&rows=…
⚫ Save 25% off your first Asset Store Order: prf.hn/click/camref:1101l9QvC/creativeref:1011l783…
⚫ Save up to 50% on NEW Assets: assetstore.unity.com/?new_sale=true&orderBy=1&aid=…

👨‍💻 As always, all code from this video is available on GitHub: github.com/llamacademy/ai-series-part-32

❤ Believe in LlamAcademy's mission and have received value from the videos? Become a Patreon Supporter or YouTube Member:
⚫ Patreon: www.patreon.com/llamacademy
⚫ YouTube Member: youtube.com/channel/UCnWm6pMD38R1E2vCAByGb6w/join or click the Join button on any video

📚 Resources
⚫ Most of the configurations are on the NavMeshAgent itself:
docs.unity3d.com/Manual/class-NavMeshAgent.html
The higher level configurations such as the pathfindingIterationsPerFrame can be set at the
⚫ NavMesh class: docs.unity3d.com/ScriptReference/AI.NavMesh.html
⚫ NavMeshSurface component: docs.unity3d.com/Packages/com.unity.ai.navigation@…
⚫ RVO2: gamma.cs.unc.edu/RVO2/
⚫ RVO: gamma.cs.unc.edu/RVO/

As usual with the AI Series, we're using the NavMesh Components: docs.unity3d.com/Manual/NavMesh-BuildingComponents… not the built-in navigation system.

----
Most tutorials come from knowledge gained making survival.llama.software/ Llama Survival - a top-down zombie survival shooter for Android and iOS.
I also have some Unity Assets (affiliate link): assetstore.unity.com/publishers/22409?_aid=1101l9Q…
Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.

#unitytutorial #tutorialtuesday #gamedev #tutorial #unity #llamacademy #gamedevelopment #ai #navmesh #avoidance

Chapters:
00:00 Avoidance in Unity Overview
02:33 Scene Overview
03:55 1:1 Scenarios - Avoidance Observations and Debug Visualization Understanding
07:45 Circle Scenarios - Why Doesn't Avoidance Always Work?
13:42 Narrow Pathway Scenarios - Problems Exacerbated and a Surprising Solution
19:50 5 Key Fin

All Comments (21)
  • I think it would take me years to learn so much valuable information about AI and unity, you've made it so much easier and fun. thanks for the new tutorial.
  • @INeatFreak
    This channel is a hidden gem. Hope you get the recognition you deserve.
  • @BlueHat1
    Thank you so much! This is exactly what I was looking for.
  • @Argenuto
    Excelent... No words can describe the quality of this video. THANK YOU!!
  • @JoeCoo7
    Imho the best video of your series. Thanks for making this. Much appreciated.
  • Very good video, loved the detailled options and visualisation, it made things so clear, thank you !
  • @tufanaydin6340
    I just discovered your channel. You make very nice videos. I can find everything I need specifically. You are amazing and very sincere.
  • Thank you so much! This was the only thing that was bothering me! My player pushed the enemy before killing it, but now I could solve it. Good luck in the future!
  • @B4NTO
    Will have a look at this tomorrow :D thanks for making this!
  • @poobagification
    All those zombies trying to pass each other was very satisfying to see
  • @maxpanic3633
    OH MY GOD WHY DOES IT HAVE LESS THAN 10K VIEWS, SOMEBODY EXPLAIN PLZ Great tutorial ! Thank you very much I think I will binge watch the whole serie right now, and you got a new subscriber ;)
  • @brandonjacksoon
    Greetings from Reddit ;) Liked and subscribed! Thanks for interesting content!