You will note that the physics system has simulated the various forces on the rag doll and it has collapsed, as gravity is the only force on the dummy and there is nothing preventing it from falling to the ground plane.
This brings up the first problem that we have to solve – we need our model to be rigid until we want it to be impacted by the world of physics. We can accomplish this by either turning off physics until the character is in a state where it should not be in control of its actions, such as in the case of an explosion, or we need to attach the character to some other system that prevents it from slumping over.
We have attached rag dolls and rigid body physics systems to our enemies so that they can animate properly when hit affected by the physics of explosions and other in-world physics simulations. When we turn on the rag dolls, Unity uses physics, as opposed to our animation data, to determine what happens to the character. This results in a more realistic reflection of the world.
18.221.234.114