Ragdoll capsule colliders get deactivated on death

Grannyboy

Active member
I have ragdoll ability on my enemy AI agent. When this agent dies (Ragdoll ability gets active) the capsule colliders on the ragdolls limbs all get deactivated and I cant figure out why.

There is no custom scripts that deactivates the ragdoll colliders.

Here is my ragdoll settings aswell:

RagdollSettings.PNG

Picture of zombie legs falling through ground due to colliders getting deactivated on death:
CapsuleColiderOffLegZombie.PNGcapsuleColliderOff.PNG

Any ideas what to try out? Is there any state or something that deactivates capsule colliders?
 
I just ended up remaking the entire enemy character from scratch with exact same scripts, attributes, stats etc and now it workes for some odd reason. Nothing has really changed but the old one was completly broken. Events would not fire, ragdoll behaved wierd etc. Made a back up prefab on the working AI now so if it happens again I could probably just use the backup!
 
I encountered the same problem. I reset the layers of each child GameObject of the character that uses Ragdoll according to Nolan in the sample scene, then everything works perfectly.
 
Top