Ragdoll on Death NavMeshAgents | AI Series Part 39




Published: 03 May 2022

Learn how to transform your fully animated NavMeshAgents and transform them into a Ragdoll on death โ˜  that eventually subtly fade out! This is a great way to add more "game feel" ๐Ÿš€ into your game with more responsive, physically based death behaviors for your NavMeshAgents!


This tutorial builds on several previous AI Series and non-AI Series videos.


๐Ÿ‘จโ€๐Ÿ’ป As always, you can check out this full project on GitHub: https://github.com/llamacademy/ai-series-part-39

to see the full project as shown in the tutorial (minus 2 free Asset Store assets, later on in the description).


๐Ÿท๏ธSave 25% on the ultimate C# IDE: JetBrains Rider with code LLAMACADEMY: https://www.jetbrains.com/store/?section=personal&billing=yearly


๐Ÿ“š If you want a full breakdown of how each system was created, check out the original tutorial below (each also with its own project on GitHub)

โšซ AI Series Part 1 (Click to Move NavMeshAgents & Chasing a Player

) - https://youtu.be/aHFSDcEQuzQ

โšซ AI Series Part 3 (Animated NavMeshAgents) - https://youtu.be/wLZPM46zgUo

โšซ AI Series Part 6 (NavMeshAgents Attacking Nearby Objects) - https://youtu.be/Aee01YxQIsw

โšซ AI Series Part 29 (Line of Sight checking on NavMeshAgents): https://youtu.be/t9e2XBQY4Og

โšซ Raycast Shooting - https://youtu.be/GkStW8-Q5P0

โšซ Lerping Fundamentals - https://youtu.be/IymDGkzwJts

โšซ Creating a Ragdoll Model - https://youtu.be/RB18IyKZiB0


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.


๐Ÿšจ FREE assets used in this project:

โšซ https://assetstore.unity.com/packages/3d/characters/humanoids/zombie-30232?aid=1101l9QvC

โšซ https://assetstore.unity.com/packages/essentials/tutorial-projects/unity-particle-pack-127325?aid=1101l9QvC


๐Ÿงก Believe in LlamAcademy's mission and have received value from the videos? Here's how you can show your support:

๐ŸŒŸ Patreon: https://www.patreon.com/llamacademy

๐ŸŒŸ YouTube Member: https://www.youtube.com/channel/UCnWm6pMD38R1E2vCAByGb6w/join or click the Join button on any video

๐Ÿ“š Take my Unity ShaderGraph Course:

https://www.gamedev.tv/p/unity-shader-graph?affcode=45216_kuvg0bp7

๐Ÿ‘• 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/publisher-sale?aid=1101l9QvC (affiliate)

๐Ÿ’ธ Save up to 50% on NEW Assets: https://assetstore.unity.com/?new_sale=true&orderBy=1&aid=1101l9QvC (affiliate)


Some links may be affiliate links, which at no additional cost to you, gives me a small portion of the purchase.


Chatpers:

00:00 Topic Introduction

01:33 Scene & AI Overview

04:35 RagdollEnabler.cs - Transition Between Animated Models & Ragdolls

06:26 Attackable.cs - Handling Damage and Death on AI

07:09 PlayerAttack.cs - Attacking AI, Damaging, and Adding Ragdoll Force

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.