Posted June 18, 2020 by numian
#active ragdoll
This week I have been learning to make an active ragdoll.
I have tried different approach, but with little success.
The first approach was to have two times the character: one with a ragdoll and a mesh (we will call it ragdoll), another without a mesh and with an animator (we will call it the animated skeleton). The ragdoll was linked to the animated skeleton using Configurable Joints (each bone of the ragdoll connected to the skeleton, to much work). It was problematic for two reassons:
The second approach use three times the same character: one with a ragdoll (using the ragdoll wizard of unity, so it uses Character Joints), another with an animator and another with only a mesh (we will call it the visual skeleton). The ragdoll was connected to the animated skeleton by the spine only. The visual skeleton has a script that interpolate the position and rotation of the ragdoll and the animated skeleton (you can choose the weight for the ragdoll and animated skeleton).
The blue mesh is the ragdoll, the brown mesh is the animated and one that is highlighted in blue (black legs and light brown arms) is the visual skeleton.