---
description: v1.4.2
---

# General

On the General Tab you will find the most used parameters that you can modify on the (AC)

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FxVObP5glpavUU14emxmg%2Fimage.png?alt=media&#x26;token=aaa35f4f-1332-4690-aca6-ca4215bb84d1" alt=""><figcaption></figcaption></figure>

## Parameters

### Player

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-Lzx7pnvZRs4oLBRRMLM%2F-Lzx8CtRJ2chk39_Kz0d%2Fimage.png?alt=media\&token=d8101879-9bb6-4ffe-afe1-d8b9abbc8dfe)

If this is set to true, this Animal will be your Main Character.&#x20;

This will use a Singleton pattern and will set the Static value: `Animal.isPlayer.Value = true;` . That way the [**Respawn System**](../../secondary-components/respawner) and the [**CheckPoints** ](../../secondary-components/checkpoint)will know which main animal (Player) to respawn when it dies.\


### Pivots

![](https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-Lzx7pnvZRs4oLBRRMLM%2F-Lzx8GVobSbZ-l6xmo2h%2Fimage.png?alt=media\&token=185e7fd2-8005-40c1-a9e2-7f51d0aafea4)

Pivots are used to align the animal to a surface, Ground or Water see the next link for more information

{% content-ref url="general/pivots" %}
[pivots](general/pivots)
{% endcontent-ref %}

## Movement

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FXVTFvxo0bVPfAZO5XohF%2Fimage.png?alt=media&#x26;token=6a02b29e-5ef6-41e6-8f17-3aa0acbebeba" alt=""><figcaption></figcaption></figure>

### Camera Input

The animal will use the Camera's Forward Direction to move

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2Fc4GCJjgMFL7ODuIhMupg%2FUnity_LAAgSD4v6X.gif?alt=media&#x26;token=6da3f50d-66da-40d7-8616-474df8387954" alt=""><figcaption></figcaption></figure>



{% hint style="info" %}
If you disable Camera Input the animal will no longer be influenced by the camera's look direction. It also can walk backward
{% endhint %}

### Always Forward

If true, the animal will always go forward - just like in endless runner games

### Use Camera Up

Users the Camera Up Vector to move up or down whilst flying or swimming underwater - if this is false, the animal will need an up/down Input to move higher or lower.

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FB0WHGkXnAcQ1T4TTo7Md%2FUnity_zCuom1i6c3.gif?alt=media&#x26;token=c53f71f7-ad61-4e20-b977-2c52507399b4" alt=""><figcaption><p>When is enabled if you point the camera up or down the character wil also go Up or Down</p></figcaption></figure>

### Smooth Vertical

Used for Joysticks or Mobile Input to increase the speed by Stick Pressure.

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FqpKKxJqjVLKhwwYoN4dE%2FUnity_Jndk1kbLtY.gif?alt=media&#x26;token=f6b435fd-59ae-434f-9c94-ea1915a86f7b" alt=""><figcaption></figcaption></figure>

### Can Sprint

Can the Animal Sprint?

### Turn Multiplier

The Turn Multiplier for the animal. Higher Values mean the animal will turn faster

### In Place Damp

Smoothing dampening to turn in-place. This is used by the AI when it reaches a target and the target Moves around the AI Animal

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FfkvuWDJhImnTTypKXvXd%2FUnity_oALAhZY12c.gif?alt=media&#x26;token=0c53c41e-ca09-4313-bbe0-124d28c46209" alt=""><figcaption></figcaption></figure>

### Turn Limit

Slows down the Animal when the Turn Angle is outside the limit provided

{% embed url="https://streamable.com/9cwag1" %}

### Animator Speed

Global multiplier for the animal's animator. Higher values means that the animations will play faster

### Time Multiplier

Local Time Multiplier for the animal. Can be used for slow-motion movement. You can have all the animal enemies move slowly while your character moves at regular speed to simulate a Focus feature.

## Ground

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FzVlLFPrWzOPlFV3NuntI%2FGroundLayerImage.JPG?alt=media&#x26;token=ad615553-fa62-4525-8dab-34a836457f25" alt=""><figcaption><p>As of v1.4.2a</p></figcaption></figure>

### **Ground Layer**

Layers the Animal considers ground

{% hint style="danger" %}
(If the animal starts to **fall** for no reason, it should be because **Ground Layer** is empty, or the layer of the Game Objects beneath the animal needs to be added to the **Ground Layer Mask**).
{% endhint %}



![Ground Layer is set to Nothing](https://lh6.googleusercontent.com/pgOFAielD0y9cHgVhd9L0mQhZ_CNG2v0ACs4od7jiTErDnP18kp0p6hKXrEJ3fb-RpgdZx3mit7WTZ95FPRLlMMm7BENq6g_1DnPfqPFsh4uoY8Qk_v4TlOpaqt5l82mYeHJGvrF)

### Orient To Ground

A toggle to allow the animal to orient its rotation to the ground - disable this for humanoids!

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FjaH5qlwZMD7KJpm3BqjI%2FUnity_BP9ueTxPBL.gif?alt=media&#x26;token=a76ef37d-e90f-4f65-8dbf-419dcfde92dd" alt=""><figcaption></figcaption></figure>

### Debris Tag

What is your debris tagged as in Unity? Tag your small rocks, stairs, and other small objects that the animal can walk on to allow better raycasting calculations from the animal.&#x20;

By default is set to "**Stair**"

{% embed url="https://streamable.com/zweytj" %}

### Height

Distance from the Animals hip to the ground

### Slope Limit

The maximum angle of the slope that the animal can walk. If the animal tries to walk on a slope that is higher than this, it will slide down.



### Slide Threshold

Angle on the terrain to start sliding down&#x20;

### Slide Amount

If an animal is sliding down because of a slope, how much should they be pushed down

### Slide Damp (Dampening)

Dampening value to activate the sliding effect - lower values mean the sliding occurs faster

## Ground Alignment

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FJXt4oyhnjfFOYRzEKjYs%2Fimage.png?alt=media&#x26;token=350df4d1-2ad9-43c0-af16-7db66e25293e" alt=""><figcaption></figcaption></figure>

### Align Pos Lerp

Smoothness value to snap to the ground when grounded

&#x20;<img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-LzxATUOs-A7VrdxqGH3%2F-LzxAwyfcq3LeJs5HtoU%2FLerp-Pos-Align-2.gif?alt=media&#x26;token=621f5ebe-f6ad-481e-9814-8d24bdc4719c" alt="" data-size="original"> <img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-LzxATUOs-A7VrdxqGH3%2F-LzxB1D6GE9faHzKgkbF%2FLerp-Pos-Align-30.gif?alt=media&#x26;token=7a7a1c12-01e7-433a-bd92-f9bb7993b5f3" alt="" data-size="original">

&#x20;           _Left: Align Pos Lerp = 2.                               Right Align Pos Lerp = 30_&#x20;

### **Align Pos Lerp**

Smoothness value to Snap to ground while Grounded

### Align Pos Delta

Smoothness value to snap to the ground when using a non-grounded state e.g. falling

### **Align Rot Lerp**

&#x20;Smoothness value to Align to ground slopes while Grounded

<img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-LzxATUOs-A7VrdxqGH3%2F-LzxBN5QdgLgPwkjxXVi%2FLerpPosRot2.gif?alt=media&#x26;token=c733c809-5e9d-48f3-aefd-7e8c9af25bbb" alt="" data-size="original"> <img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-Lzhr1XSMzMqNXjRnNlb%2F-LzxATUOs-A7VrdxqGH3%2F-LzxBf5B7CYD5FcRqS-A%2FLerpPosRot30.gif?alt=media&#x26;token=13a11061-d991-4a19-81f1-a4d2ba09430e" alt="" data-size="original">&#x20;

&#x20;            _Left: Align Rot Lerp = 2.                              Right Align Rot Lerp = 30_

### Raycast Radius

The radius of the spherecast used to check for ground underneath the animal

### Align Cycle

When the animal is grounded, how often should the controller check per frame to align the animal. Higher values = more accuracy\
Lower values = better performance\
The default is 1 per frame

## Gravity

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FQs0xw86tEGCP7G1PZFck%2Fimage.png?alt=media&#x26;token=0f2f6032-d185-46c7-a748-3b2d211baece" alt=""><figcaption></figcaption></figure>

### Direction

Direction of the Gravity as a Vector 3. Default is -1 on the y axis. E.g. Standard earth gravity pushing directly down.&#x20;

### Force

How strong the Animal will fall to the ground.\
Default is 9.8

### Start Gravity Cycle

Start the gravity with extra time to push the animal down. \
Higher values = stronger gravity

### Clamp Gravity Speed

Clamps the gravitys speed/velocity. Setting to 0 will ignore this setting.

### Ground Changes Gravity

A toggle that allows the animal to move on any surface in any direction e.g. upside down or similar to sonic around a tube

## [Strafing](https://malbersanimations.gitbook.io/animal-controller/strafing)

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FjLYVT0QhhiOSvWgeuxqd%2Fimage.png?alt=media&#x26;token=71f9701f-58db-48b6-938c-ab9343e83eb7" alt=""><figcaption></figcaption></figure>

### Can Strafe

Can the animal [**Strafe**](https://malbersanimations.gitbook.io/animal-controller/strafing)?

{% hint style="info" %}
Strafing requires a new set of animations. Make sure you have the proper animations set to use this feature!
{% endhint %}

### Strafe

Activates strafing on the animal - a toggleable bool that is typically used at runtime - you normally won't need to set this yourself.

### Normalize

Normalizes the strafing angle of the animal e.g. 180 to -180 becomes 1 to -1

### Lerp

Lerp value to smoothly enter the state\
Default is 5
