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!
👨💻 The full project for the Chicken Defense Microgame is available on GitHub for FREE: https://github.com/llamacademy/chicke...
🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?sect...
📚 Resources:
⚫ NavMeshAgent Docs: https://docs.unity3d.com/2023.1/Docum... & https://docs.unity3d.com/2023.1/Docum...
⚫ RVO2 Docs: https://gamma.cs.unc.edu/RVO2/
⚫ Chicken Defense on Itch.io: https://llamacademy.itch.io/chicken-d...
🧡 Believe in LlamAcademy's mission and have received value from the videos? Here's how you can show your support:
🌟 Patreon: / llamacademy
🌟 YouTube Member: / @llamacademy or click the Join button on any video
📚 Take my Unity ShaderGraph Course:
https://www.gamedev.tv/p/unity-shader...
👕 Get yourself some LlamAcademy merch: https://llamacademy.myspreadshop.com/
💸 Use my Affiliate Link for Humble Bundles https://humblebundleinc.sjv.io/9g4ak4
💸 Publisher Sale! 50% OFF an entire publisher's Assets! Publisher changes weekly! https://assetstore.unity.com/publishe... (affiliate)
💸 Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sal... (affiliate)
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
00:22 NavMeshAgent Avoidance
01:07 How We'll Do It
01:44 Demo of the functionality
02:34 Active Avoidance - EnemyMoveState.cs
05:04 Run Away Configs
05:28 A Closer Look
06:08 Understanding Which Llama(s) to Run Away From
06:46 More Complex Considerations
07:32 How to Support LlamAcademy
Смотрите видео Active NavMeshAgent Avoidance - Run Away From or Around a Target | Unity Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь LlamAcademy 30 Апрель 2024, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 4,396 раз и оно понравилось 195 людям.