---
description: (Simple Climb)
---

# Climb

## Overview

The Climb State is a basic climbing logic (Zelda Botw style) that moves the animal on the surface of a wall.. Its State [**ID** ](../../../../scriptable-architecture/scriptables/scriptable-ids#states-ids)is **7.**&#x20;

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWQFklOsqrHVuU1HM-A%2F-MWQJTP7rdk5Lin6i5EB%2FG4SIXA3VL4.gif?alt=media\&token=0072ca05-d29c-4692-bf6f-416f6ad2c6be)

## Creating the State

To create a new Climb State Click the \[ + ] button on the States list

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWLapMYzEnS6Q4GbnFR%2F-MWMWVwd9KRwgs6IYxvc%2Fimage.png?alt=media\&token=9205bb5f-377e-4031-b20c-d34b85152e91)

Or just duplicate any of the already created Climb States Assets of any animal you own and drag it to the States List.

## Priority

The state should have a higher priority than [**Idle**](idle), [**Locomotion** ](locomotion)and [**Fall**](fall). but below [**Death**](death)**,** since the animal can be killed at any time. Remember States work by priority; If you need to Jump or Fly while the animal is in the Climb state, those states should be above Climb.

&#x20;

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWMWak3B53t-2HU40HG%2F-MWMYBv9N-GsegEpjfpJ%2Fimage.png?alt=media\&token=e74a63e8-5081-4fc5-a3ef-c37dcd562b6d)

When the animal is in this state, all the Lower priorities states are ignored until the [exit conditions](#exit-conditions) for this state are fulfilled.&#x20;

## Requirements

* &#x20;All Climbable surfaces need to have a collider be with the Material "Climbable"

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FaHgstF8QbVNQo2JPgoOE%2Fimage.png?alt=media\&token=0c0e35f3-a3be-42b3-9ecd-72b1b62f9d1a)

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2F0YPuKfpnixziYMwnCzkU%2Fimage.png?alt=media\&token=6b11ad97-b861-4345-8ce6-8afecbb72736)

*   All Climbable surfaces must have the same layer as the Climb State Layer Parameter:



![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FZ3GMWIQDHNkA0lI9oTAn%2Fimage.png?alt=media\&token=31d112f7-7833-4024-831f-4ef7d11e89a3)

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FwzuxV7PnXBKN9YGy2Phh%2Fimage.png?alt=media\&token=02d9a920-0bf4-432a-ab1f-a6c3ae30730a)

## Activation

The climb state uses the Climb Pivot Values to detect climbable surfaces.&#x20;

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FV1VBdMrrluyHV3U0gOl4%2Fimage.png?alt=media\&token=c15b5d14-b4c8-41ab-aea5-01e9d1645177)

You need to select on the State List of your character, the Climb State. In order to see the gizmos&#x20;

![Select on the List the state you want to show the gizmos ](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2Fduvcr0BZIyX7tjdudK6o%2Fimage.png?alt=media\&token=fc9380fe-a223-4d0a-8f44-949638851502)

![Gizmos of the Climb Pivot Parameters](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FlLdXzAyhK2LSqAhJ04oy%2Fimage.png?alt=media\&token=d1bfe428-c269-4e8e-a0d3-a59de81f678a)

### By Input

If the rays detect any of these surfaces, use the Climb State Input value to Start the state.

In the case of the Human and the Racoon, I use the same Input for the Action Mode. So if the Raccoon press \<E> it will start climbing.

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FltssxjDw1pnolG7cVFy3%2Fimage.png?alt=media\&token=9083dbaa-83c6-4e26-ac24-d2d77c8a8de0)

### Automatic

Set the Automatic Parameter to true and the Animal will activate the State as soon the Ray finds any climbable surface.

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FK4TnmrKh7lDo790Yg9do%2Fimage.png?alt=media\&token=4ebe1e42-2751-48d4-9ea6-ae8c962d19f2)

### Zones

&#x20;Zones can also be used to activate the state. Set a zone in front of a climbable surface and the State will be activated.

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2Fm2fsBmUS2vzYZPCSLJKY%2Fimage.png?alt=media\&token=bc7f122e-d538-46e9-a17b-476765c366e2)

### Reactions

Animal Reactions can be used to activate the state. Check [**Reactions**](../../reactions)

## Exit Conditions

Internally, the exit conditions will be executed to check if the State can exit.

Since all Exit Conditions need Animations, all Exit Animations require the **AllowExit Behavior** in them.

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FUG2ZhQX6v2yL4wsXX0PK%2FUnity_UVCoAVuIsF.gif?alt=media\&token=070b5bf7-daea-4042-8d9e-48930702df12)

### Climbing Down

When the animal is Climbing Down (Pressing the S Key to Move Down); a Ray will be cast to search for the ground beneath the animal. If the ray touches the ground. This exit condition forces the **Idle** state to be activated after.

![A ray is cast while the downwards until it founds a ground surface ](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWMWak3B53t-2HU40HG%2F-MWMhx12-MMwUY5Tnl2Q%2Far1jOsCmFZ.gif?alt=media\&token=d1f1a71c-6ed8-4c09-9b3e-178e52fb9441)

### Climb Up a ledge

The animal will cast 2 Rays to find a Horizontal ledge. If it finds it then it will play the Ledge Exit Animation. This exit condition Forces the **Locomotion** state to be activated after and sets the **StateExitStatus** to 1.

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWMiAVMolG1ZiPvKH9k%2F-MWMjKNHZ3pmhDS3Lxoa%2FkFDCXwNJ6W.gif?alt=media\&token=0b3c35de-3feb-42f4-a5ab-df04eb4df4b5)

### Unclimbable surface

The Wall does not have the \<Climb> Material Surface. This condition allows lower-priority states to be activated.&#x20;

![The fall state is activated if there's no climbable surface](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWMiAVMolG1ZiPvKH9k%2F-MWMkwi9ot2YSV2-JhS2%2FyQZd0YcwnF.gif?alt=media\&token=da778b04-ded2-4dd1-8136-81f95fdfe4b5)

### High Priority States

Any high-priority states can be Activated, forcing the Climb state to exit:

![When pressing space to jump the animal will execute an exiting jump animation.](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWMsInqKICZEWrBQuDv%2F-MWMwM2GHLrfFMw-XwXc%2FdHGUlcj2tV.gif?alt=media\&token=1982fb40-f6b6-45cb-9206-b37e006890d4)

### Exit Input

Pressing the Exit Input State the state will exit too

![Pressing C \[Crouch Input\] while climbing will exit the state ](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FJQgNZTB6NdCpAiGX9TuV%2FUnity_C9762oGpsx.gif?alt=media\&token=cb4f26fd-9a9d-4f37-9f74-b850017dd096)

## Common State Properties

The basic setting for the Climb state is very similar for all the animals.

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FgGANvQPSi8OcGBaxgwj8%2Fimage.png?alt=media\&token=9a2890d7-74a4-4990-92da-06585f713e58)

* **Main Tag \[Climb]**

<table data-header-hidden><thead><tr><th width="260.3333333333333"></th><th></th><th></th></tr></thead><tbody><tr><td>☑️RootMotion </td><td>☑️Sprint  </td><td>◻️Gravity  </td></tr><tr><td>◻️Grounded </td><td>☑️Custom Rotation </td><td>◻️Orient To Ground  </td></tr><tr><td>☑️Ignore Lower States </td><td>◻️Persistent = False</td><td>◻️Lock Move  </td></tr><tr><td>◻️Lock Input  </td><td>☑️+ Root Speed = True</td><td>☑️ + Pos Speed   </td></tr><tr><td>◻️ Free Movement  </td><td></td><td></td></tr></tbody></table>

### Limits

* Sleep From State: **(OPTIONAL)**
  * Underwater, Fly. You don't want to use the climbing when those states are active
* Sleep from Mode **(OPTIONAL)**
  * Attack, Action. You don't want to use the climbing when those Modes are active
* Queue From \<None>

## Animator

### Climb SubState Machine

The Climb state requires the Animation States that are in charge of the Climbing movement.&#x20;

![The Transition Enter Condition of this state is State=7](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWR2zumfCzCZXTwfxVq%2F-MWR7Z_jJ7csDu0ccP_m%2Fimage.png?alt=media\&token=3820c53e-86c2-45d0-b967-174eacb33a0e)

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWR2zumfCzCZXTwfxVq%2F-MWR7f-npun17BKDMn98%2Fimage.png?alt=media\&token=434c4acf-ea24-46a7-94be-09b78b2cc029)

### Core Animation

All States have a core animation on which the Animal will stay while the state is active. In case of Climb will be the Climb BlendTree Animation state.

This core animation must be always tagged just like the Name of the State ID. &#x20;

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWR2zumfCzCZXTwfxVq%2F-MWR7oLxYN4edau-A10G%2Fimage.png?alt=media\&token=094dd868-faf6-4e7a-bb6f-9effe503a579)

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWR2zumfCzCZXTwfxVq%2F-MWR8MfOirHhhaMYMjqH%2Fimage.png?alt=media\&token=f7478ddb-5b8d-4e2b-b554-b4544671a2cb)

Since the State is a moving state, the Speed Multiplier must be set as **Parameter** "**SpeedMultiplier**"

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWR2zumfCzCZXTwfxVq%2F-MWR8Tv_1pW_NvLIg5uJ%2Fimage.png?alt=media\&token=a538d83c-3952-4519-a54c-0c7d63599242)

This **Climb** Blend Tree is usually set this way:&#x20;

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWR2zumfCzCZXTwfxVq%2F-MWR9frdbPrvdXe8zo_c%2Fimage.png?alt=media\&token=43f37aae-c69a-4041-8573-85f5e40ccebf)

It uses 8 Directional animations to move around the surface

![8 Directional animations](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWR2zumfCzCZXTwfxVq%2F-MWR9jrCBlK9PBkrVQCG%2Fimage.png?alt=media\&token=45176681-edf7-4afe-ae65-03a2ea1edf7f)

{% hint style="warning" %}
If you don't have all the animations, you can fill the missing states with duplicate animations
{% endhint %}

### Additional Animations

To have a smoother state Climb should have extra animations to transition to and from the core animations.

#### Climb Start&#x20;

Climb Start is used when the Last State is **Idle** or **Locomotion** to quickly align the Animal to the Wall while the animation is playing.

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWR_-N7dvoWeID0FiHz%2F-MWRaILkT_RSDn41y3yD%2Fb5Ab0QbFpp.gif?alt=media\&token=b289fc44-9105-4606-99bc-fe2d33c6ba11)

This animation must be tagged as <**ClimbStart**>

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWR_-N7dvoWeID0FiHz%2F-MWRaXsWrXkFwj1SM-lC%2Fimage.png?alt=media\&token=09ffd02b-51b9-4d41-bc48-c59872d82d32)

The Enter Transition is Last State < 2 (Meaning the last state was **Idle** (0) or **Locomotion** (1) )

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWR_-N7dvoWeID0FiHz%2F-MWRalV3S5A2E8pVhxyq%2Fimage.png?alt=media\&token=3f8e307f-c00f-4454-8244-2abed99e14b4)

#### Climb Down

This Exit Animation is Activated when the animal is going down. Pressing the S Key.

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWMWak3B53t-2HU40HG%2F-MWMhx12-MMwUY5Tnl2Q%2Far1jOsCmFZ.gif?alt=media\&token=d1f1a71c-6ed8-4c09-9b3e-178e52fb9441)

* This animation is tagged as _**\<ClimbExit>**_

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWS-fy3cGrMrmizJFeH%2F-MWS1dTBfE4iFNnWH89Z%2Fimage.png?alt=media\&token=447656d6-19ec-4c7a-af61-8af96b0ccf13)

* The Enter Transition from Climb is **StateExitStatus = 3**. Just like the value set in [ClimbDown](#climb-down-1)
* **Grounded = True** can be used on the transition as an alternative.

![Enter Transition from Climb. StateExitStatus = 3 OR Grounded = True.](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWRphJVcNn346Jux8a2%2F-MWRrgY0scdG8iV3GWSc%2Fimage.png?alt=media\&token=43bec750-e719-4346-864f-e66c2ef5b68d)

#### Climb Edge &#x20;

This Exit Animation is called right after the \<Climb Up a Ledge> conditions are fulfilled.&#x20;

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWMiAVMolG1ZiPvKH9k%2F-MWMjKNHZ3pmhDS3Lxoa%2FkFDCXwNJ6W.gif?alt=media\&token=0b3c35de-3feb-42f4-a5ab-df04eb4df4b5)

* The Tag used on the Animator State is <_**ClimbEdge**_>

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWS-fy3cGrMrmizJFeH%2F-MWS0YT89rLXG5viTwv9%2Fimage.png?alt=media\&token=27156e7a-41d3-4748-85ce-dd77863a43d2)

* The Enter Condition is Exit Status  =1. Just like the value set in the parameter[ Climb Ledge](#climb-ledge)

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWRxTGIy6zAuGcb7PEg%2F-MWS-QULeB_3Jul9jDOY%2Fimage.png?alt=media\&token=e953c547-514c-4325-9b21-b983a5864e1b)

## Tag Modifiers

&#x20;Tag Modifiers change properties on the Animal Controller every time the Animal enters an animation with any of the included tags on the list.&#x20;

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FdAZ82EPwnKdRyowVbkBr%2Fimage.png?alt=media&#x26;token=d68c6551-8f1a-47e1-9790-82575ad2c3bd" alt=""><figcaption></figcaption></figure>

## Speed Set

The Climb needs a new [**Speed Set**](../speeds) that affects the State

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FxJ35fdYK3AKrMhmPW6NY%2Fimage.png?alt=media&#x26;token=b035332e-33bd-4775-9cc5-f60821485bfc" alt=""><figcaption></figcaption></figure>

{% hint style="success" %}
If your Climb animations are **NOT** RootMotion Animations, **increase** the [Position ](../../speeds#position)and values to be **greater** than zero.
{% endhint %}

## Climb Parameters

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FAN1ZVfRRyxEA0xx1SaPp%2Fimage.png?alt=media\&token=44b3dba8-b6b9-4e79-b1b6-ee57c869400f)

### **Climb Layer**

Layers needed to detect climbable colliders.

### Surface Material

Surface Material needed on the colliders to recognize Climbable surfaces

### Automatic

When this parameter is true, the animal will climb automatically a surface if is near it

## Climb Pivots

Values to set properly all raycasts needed to climb Climbable surfaces.



![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2F3vJaLzabXZjc7OAIynvi%2Fimage.png?alt=media\&token=a3e8cc99-58a4-4116-9e27-acd94ae2278d)

### Climb Chest

Pivot to cast a ray from the chest.&#x20;

### Climb Hip

Pivot to cast a ray from the hip.&#x20;

### Climb Ray Length

Lenght of both Hip and Chest Rays&#x20;

### Ray Radius

Radius of the Rays to detect walls

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2F49pqD4vEy6DenZx8Re82%2FUnity_y2FlZgeTwX.gif?alt=media\&token=9200c3a0-12ce-4e87-8009-5be5f9ecba96)

## Wall Detection

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FqZ5736uxIVoMtlCrp9Ki%2Fimage.png?alt=media\&token=a5c881f0-86c1-4750-8416-44d8e34dd255)

### Wall Distance

When aligning the Animal to the Wall, this will be the distance needed to separate it from it.

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWRphJVcNn346Jux8a2%2F-MWRqQLJg1h2gQhAXtVW%2Fm7lbYJB3eG.gif?alt=media\&token=7248ae06-26a5-47e4-9158-782d57d8789c)

### Align Smoothness

Smoothness value to align the animal to the wall.

### Ground Distance

Distance from the Hip Pivot to the Ground. This value is used to find the ground while the animal is climbing down. Using the S key. Is represented by a White Ray.

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWRphJVcNn346Jux8a2%2F-MWRrAo3qe_dXxP_u_hm%2Fimage.png?alt=media\&token=8380b820-b905-48bd-a6a1-626f099fb70d)

### Inner Corner

These represent 2 rays to detect Inner  90-degree corners to position the character to the right spot when detected.&#x20;

If the Ray touches an inner 90-degree wall, a quick alignment will occur

Use this if you don't have turn-inner corner animations

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2F4neMvXFjbiFCQpG49pEq%2FUnity_iqExaK49Ci.gif?alt=media\&token=40c435ff-0ecd-4e32-93a9-e20b1b259130)

### Outer Corner Speed

Additional Speed used to move faster around the outer 90 corner

Use this if you don't have turn-outer corner animations

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2Fa3jX8eIlS8wXeNWGaaZK%2FUnity_xrr02jfQQd.gif?alt=media\&token=76bbab1b-b255-49ee-8936-84ff34251986)

## Exit State Status

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWRaqcLg24OvTWZy_-D%2F-MWRiNFNz8IeZ8OEo3MO%2Fimage.png?alt=media\&token=b15d47f2-828d-474d-90dc-e6e4ffbceec1)

### Climb Ledge

Value of the State Exit Status value on the Animator to Activate the Climb Ledge Animation

### Climb Off

Value of the State Exit Status value on the Animator to Activate the Climb Off Animation

### Climb Down

Value of the State Exit Status value on the Animator to Activate the Climb Down Animation

## Ledge Detection

These parameters are used to Detect a ledge when the Animal is Going Up&#x20;

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWRxTGIy6zAuGcb7PEg%2F-MWRzDpFczxb6ByMx_-d%2Fimage.png?alt=media\&token=703d3dd5-c19c-48aa-b6e3-7feaba7f4a39)

### Ray Ledge Offset

Relative Offset Position to Cast the First Ray on top on the animal to find the ledge. Its represented by a Red Ray

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWRxTGIy6zAuGcb7PEg%2F-MWRy8WWXEaNFz7cQmux%2FQyBZWTAvOY.gif?alt=media\&token=91136eb5-dcec-40e0-83cb-9eb8d1e27d3e)

### Ledge Rays

Length of the Ledge Ray

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWRxTGIy6zAuGcb7PEg%2F-MWRyo6Z7QYFRjRQWqSs%2FtnlqUInl4I.gif?alt=media\&token=72181cc4-7daf-4d2c-9ffc-15e959d2a1c2)

### Ledge Min Exit

Minimum Distance needed to Activate the Exit Ledge Animation. If the Second Ray Distance to the surface is greater than this value, the **StateExitStatus** parameter will change the value to[ Climb Ledge.](#climb-edge)

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-MWRxTGIy6zAuGcb7PEg%2F-MWRzhZZ8c3viEk85p_W%2FUEZepIKBSu.gif?alt=media\&token=2e5a5666-6a14-48ef-909a-050753725b62)

###

