Ragdoll System #
The ragdoll system is largely based on a tutorial by Epic, which can be found here.
You can get the ragdoll component from an actor and call the function “Server To Ragdoll.” Note: 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, make sure the checkbox is ticked.
Setup #
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.
Animation Blueprint #
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.