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: github.com/llamacademy/chicke...
📚 Resources:
⚫ NavMeshAgent Docs: docs.unity3d.com/2023.1/Docum... & docs.unity3d.com/2023.1/Docum...
⚫ RVO2 Docs: gamma.cs.unc.edu/RVO2/
⚫ Chicken Defense on Itch.io: 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:
📚 Take my Unity ShaderGraph Course:
www.gamedev.tv/p/unity-shader...
👕 Get yourself some LlamAcademy merch: llamacademy.myspreadshop.com/
Become a Supporter:
🌟 Patreon: / llamacademy
🌟 KZitem Member: / @llamacademy or click the Join button on any video
🌟 GitHub Sponsor: github.com/sponsors/llamacademy
Use these affiliate links to do your Asset Store / Humble Bundle Shopping!
💸 Check out the latest Humble Bundles www.humblebundle.com/software...
💸 Publisher Sale! 50% OFF an entire publisher's Assets! Publisher changes weekly! assetstore.unity.com/publishe...
💸 Save up to 50% on NEW Assets: assetstore.unity.com/?new_sal...
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
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
Пікірлер: 26