NavMeshObstacle and NavMeshAgent - Together! | AI Series Part 33




Published: 16 Nov 2021

Learn how to control NavMeshAgents and NavMeshObstacles on the same GameObject! Sometimes the NavMeshAgent obstacle avoidance isn't enough, and you need an Agent to fully block the path so other Agents will find a new path. In this tutorial we'll look at how to combine the NavMeshAgent and NavMeshObstacle components so they work together without teleporting issues.


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


🔶 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/ai-series-part-33

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


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.