fmp 26/10/2022

I first tried to use a death animation to show that the player was injured and fell to the ground. But I found the effect to be particularly bad, because the player may die during the fall or on the slope. If you just play the animation, it is very likely that the character cannot stick to the ground.

Fortunately, mature commercial games on the market have already given the answer 25 years ago: ragdoll.

Rocket Jockey (1996)
Red Dead Redemption 2 (2018)

It is not difficult to see from the few references I gave that the ragdoll system has been used in 3D games for a long time. As the most widely used commercial game engine, the Unity engine naturally supports the ragdoll system.

now let’s set up a ragdoll.

Unity integrates a tool to create a ragdoll system. Developers only need to specify the corresponding joints to complete the first step.

Observing the above two pictures, it can be seen that the collision automatically generated by the unity engine is not perfect. So I still need to manually modify the collision of each joint to make the effect of ragdoll the best.

Looks good doesn’t it?

The ragdoll technique is also widely used in the animation of crowd simulation. This is a technique that can save animators a lot of work.