All Classes Namespaces Functions Variables Enumerations Properties Pages
BehaviourFall

BehaviourFall simply blends between two animation clips in a blend tree depending on the height of the ragdoll from the ground. As seen from the gif below, when the ragdoll is high above the ground surface, a writhering animation is played, but when it falls down, a protective pose is blended in.

Falling.gif

BehaviourFall requires for the Animator of the character to have a blend tree set up like in the image below. You can copy the blend tree from the AnimatorController in the "Falling" demo scene.

BehaviourFallAnimator.png


Component Variables

BehaviourFall.png