Teaching materials for the school of programming. Part 15
Previous tutorials can be found here:
Ragdolls are “ragdoll physics”, the main task of which is a realistic fall of bodies with a skeleton. Ragdolls are used everywhere - from shooters (falling enemies) to racing. Let's say in “Goat Simulator” ragdolls are an important part of the gameplay.
:
;
̆;
̆ Rigidbidy .
, ̈ ̆ . , - ̆.
: , - ( : ).
- -. 2 ̆ .
:
, Create → Ragdoll :
̈ Create . , ̆.
Let's fix their size manually, except for the collider, which is on the right (from us) hand. We will act differently with him. This is a capsule on the hand, and it cannot be directly tilted, but you can copy this component onto an empty object, place it in the hand pivot and rotate it locally. Remove the capsule on the arm itself.
After all these manipulations, the model should fall correctly, namely, softly and naturally.
Done!