Ragdoll System #
The ragdoll system is largely based on a tutorial by Epic, which you can find here. You can get the ragdoll component from an actor and call the function “Server To Ragdoll”. Note that this function must be called from the actor you want to ragdoll (owning client).
When setting a ragdoll root bone, preferably choose a bone that is one away from the root bone. When using a get-up animation, ensure the checkbox is ticked.
Using Get Up Animation #
To use a get-up animation, the physics asset and animation blueprint need to be set up correctly.
The physics asset should have a small kinematic capsule body at the root bone.
The animation blueprint should have states for ragdoll and get-up and a state alias for transitioning to ragdoll.
It should also have a notify in the get-up animation to call the function “To Animation Final”. This will re-enable character movement.