---
description: IN PROGRESS!
---

# Fall

## Overview

The Fall State allows the animal to fall down when there is no ground beneath him. The **ID** value for this state is **3.**

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2Fsrq6lgbpX2rgs3KV6uFE%2FUnity_DbrcLXELmh.gif?alt=media&#x26;token=828255fa-59b1-4cfb-858c-19f55b11bf7d" alt=""><figcaption></figcaption></figure>

## Creating the Fall State

To create a new Fall State. use the Plus \[+] button on the States list

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FR5g45oYoq8LeKWwHZ9n4%2Fimage.png?alt=media&#x26;token=5b080cb2-71f3-48f4-907c-26c54d033979" alt=""><figcaption></figcaption></figure>

Or duplicate any of the already created Wall Run States Assets of any character you own and drag it to the States List.

## Priority

The state should have a higher priority than [**Idle**](idle), [**Locomotion** ](locomotion)but below [**Death**](death)**,** since the animal can be killed at any time. Set it above states that will not be interrupted when the fall is active.

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FRZkWxXGirPNLpa5WTBhE%2Fimage.png?alt=media&#x26;token=1e59e7a2-af35-4e8a-9e07-661f7dd3be31" alt=""><figcaption></figcaption></figure>

## Requirements

The fall will use the main pivots of the animals  to cast the ray from the Chest of the character.

## Activation

The Fall State is an automatic state. Its activation conditions is to cast a Ray from the chest to the ground using the Animal Height or Main Pivot (Chest). If no ground was found then the state will be activated.&#x20;

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FtVJ4knt5UaPQX9xt9Xjc%2Fimage.png?alt=media&#x26;token=f24424f3-bd80-43ec-b113-746a6b1cde94" alt=""><figcaption></figcaption></figure>

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FK9f3RJ5yvmFdDEsaT3Is%2FUnity_PYvBxTawRb.gif?alt=media&#x26;token=0bd70812-67a8-413e-83c2-5a54fc022837" alt=""><figcaption><p>If the Fall Ray (Pink) does not hit any Collider with the Ground Layer Mask it will activate.</p></figcaption></figure>
