Go to this video's Sponsor: https://snhu.edu/llamacademy to see what the current average annual salary for a game developer programmer is and learn how you can get started!
In this tutorial you'll learn how to combine the Unity Physics system and the NavMeshAgent to apply realistic knockback forces to the NavMeshAgents!
👨💻 As always, all code from this video is available on GitHub: https://github.com/llamacademy/knockb...
🏷️Save 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?sect...
📚 Resources:
⚫ Gun Series Playlist: • Scriptable-Object Based Gun System Fr...
⚫ AI Series Playlist: • AI Tutorial Series in Unity - NavMesh...
⚫ OnCollisionEnter Docs: https://docs.unity3d.com/ScriptRefere...
⚫ Collision.impulse Docs: https://docs.unity3d.com/ScriptRefere...
⚫ Shooting with the Gun System: • Shooting, Simple Spread, and Bullet T...
⚫ NavMeshAgent Avoidance: • NavMeshAgent Avoidance in Depth - 5 K...
🧡 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 What to Expect
02:17 Enemy Configuration
05:08 Sponsor: Southern New Hampshire University
06:30 Knockback interface - IKnockbackable.cs
07:00 Apply Knockback on IKnockbackables - GunScriptableObject.cs
10:03 Quickly Review EnemyMovement.cs
10:58 Get Knocked Back - EnemyMovement.cs
14:42 Demo 1
15:06 Polishing the Effect - EnemyMovement.cs
16:20 Chain knock backs! - KnockbackOnCollision.cs
17:32 Add KnockbackOnCollision to Prefab & Final Demo
17:55 Final Considerations, Closing Thoughts, & Support LlamAcademy
Watch video Knockback NavMeshAgents using Physics | AI Series 51 | Unity Tutorial online without registration, duration hours minute second in high quality. This video was added by user LlamAcademy 09 January 2024, don't forget to share it with your friends and acquaintances, it has been viewed on our site 5,965 once and liked it 262 people.