Menu

Tutorial #16: Ragdolls

Version 1.6 brings procedural ragdoll death effects to the AI character.

To enable it, you must first:

1) Create a standard Unity Ragdoll on the AI prefab.  Please see the Unity 5 documentation on how to do this.  We will not include instructions here in case newer versions of Unity updates its methods. Additionally, we have created a demo ragdoll-enabled soldier character for you (see new demo scenes)

2) Go into the AI’s HealthAndDamage FSM.  Set charSTAT_UseRagdoll to TRUE.

 

That’s it!  This will override your mechanim death animation when the AI reaches health 0 or below.