NavMeshObstacle and NavMeshAgent - Together! | AI Series Part 33 | Unity Tutorial

Описание к видео NavMeshObstacle and NavMeshAgent - Together! | AI Series Part 33 | Unity Tutorial

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.

💸 Ongoing sales 💸
⚫ See all active asset sales on the Asset Store: https://assetstore.unity.com/?on_sale...
⚫ Save 25% off your first Asset Store Order: https://prf.hn/click/camref:1101l9QvC...
⚫ Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sal...

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

❤ Believe in LlamAcademy's mission and have received value from the videos? Become a Patreon Supporter or YouTube Member:
⚫ Patreon:   / llamacademy  
⚫ YouTube Member:    / @llamacademy   or click the Join button on any video

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

----

Believe in LlamAcademy's mission and have received value from the videos? Consider becoming a Patreon supporter:   / llamacademy  

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

#unitytutorial #tutorialtuesday #gamedev #unity #llamacademy #gamedevelopment

Chapters:
00:00 The NavMeshObstacle & Interaction with NavMeshAgents
02:45 Scene Overview
03:45 ObstacleAgent.cs - Mixing NavMeshObstacle and NavMeshAgent
06:45 PlayerMovement.cs - Use ObstacleAgent
07:10 SimpleAgentPatrol.cs - Use ObstacleAgent
07:31 Hooking it up & Demo
09:10 Options to Re-enable NavMeshAgents

Комментарии

Информация по комментариям в разработке