# Speed Ground Changer

## Overview

This component allows the character to walk on a slippery surface or slide on it.

<figure><img src="/files/KcDUbWFJLvi1D7mdtDe4" alt="" width="512"><figcaption></figcaption></figure>

This component simulates walking on ice

<figure><img src="/files/Dvx9vYF02fOpgh5MUFWY" alt=""><figcaption></figcaption></figure>

## Parameters

### Lerp

This will make the ground slippery if the value is very low. Set it to Zero to ignore the Sliding Speed

<figure><img src="/files/dXiiOU0l4uFusILkauX8" alt="" width="518"><figcaption></figcaption></figure>

### Position

Increase the movement speed while the character is on the ground changer

<figure><img src="/files/DSPRim7VDSh2AI42cnjh" alt="" width="509"><figcaption></figcaption></figure>

### Slide Amount

Slide Override on the Animal Controller. When the Animal gets to a Slide on the ground because of a Slope, This is the value for sliding down with gravity

<figure><img src="/files/DZowPpTfGKjf71xaXlvN" alt="" width="500"><figcaption></figcaption></figure>

### Slide Threshold

Slide activation using the Max Slope Limit if the slope angle between this value and the Max Slope value, then the sliding will start.

### Slide Damp

Lerp value to smoothly slide down the ramp

***

## Slide Data

### Slide

Activates the Slide State if the character is on this surface and the activations conditions of the slide state are true

### Ignore Rotation

If true, then the rotation of the character will be ignored during the Slide State

### Min Angle

Minimum Slope Direction Angle to activate the Slide State

<figure><img src="/files/9lo8ME0f4S6X9qZPMPCN" alt="" width="563"><figcaption></figcaption></figure>

### Activation Angle

Slide activation angle to activate the state. The character needs to be looking/aligned at the Slope, Default value of 180

<figure><img src="/files/CCqs6Ufdpf3QxYWkQe04" alt="" width="509"><figcaption><p>The character is not in the same direction of the Slope Direction.</p></figcaption></figure>

&#x20;Meaning it will only activate the state if is going in the same direction as the slope.

### Additive Forward Speed

Additive Value to add to the Speed of the Slide State

<figure><img src="/files/MjjADhMrdOqW2Zdu2gJL" alt="" width="563"><figcaption></figcaption></figure>

### Additive Horizontal Speed

Additive Value to add to the Speed of the Slide State

<figure><img src="/files/Fv97tsz3Yu1nJK1sUK8U" alt="" width="563"><figcaption></figcaption></figure>

***

## Reactions

Use these reactions to add extra logic to your characters. E.g. Disable the Jump State if the character is going up on a slippery surface.

### OnEnter

Invoked when the character enters the Ground Changer

### OnExit

Invoked when the character enters the Ground Changer


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://malbersanimations.gitbook.io/animal-controller/main-components/speed-ground-changer.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
