# Weight Processors

## Animator Parameter Weight

This weight processor is used to filter the weight by an animation clip curve.

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FM3u8ROIjgdQ5F8XlOLxP%2Fimage.png?alt=media&#x26;token=3718e5bb-3921-46f0-8062-b4c09db40e03" alt="" width="498"><figcaption></figcaption></figure>

### How to use it

To use an Animator Parameter with the Weight Processor you will need to create a Animation Curve inside an animation clip.

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2Fz0wGDlkz0nF3WHIkQTQ0%2FUnity_5N5yETnD5E.gif?alt=media&#x26;token=02b56a92-c1d9-41c1-b2e3-d7cceb525c8e" alt="" width="552"><figcaption><p>In the Animation I have created an animation curved called 'IKFreeHand' to change the weight of the IK used to fix the auxiliar hand on a weapon.</p></figcaption></figure>

This is later set on the animator to be read by the Weight Processor

### Parameters

#### Animator

Reference for the Animator Controller

#### Parameter

Name of the float animator parameter to get the value from.

#### Normalized by

Normalize the float parameter using this value. (it divides the result by this value)

#### Invert

Use OneMinus function to invert the value (1 will be zero and zero will be 1)

#### Evaluate

Evaluates the result of the float animator parameter with a curve.

***

## Look-At Weight

This weight processor limits the final weight value with the angle created from the Character Forward Direction &#x20;

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FcGJcjXPk7eifKKGEXUDz%2Fimage.png?alt=media&#x26;token=75222034-beb0-4875-8ed3-6495493af156" alt="" width="518"><figcaption></figcaption></figure>

### How to use it

This processor utilizes the **Aim** component assigned to the IK Set to determine a direction to focus on. The limits gradually adjust the weight to zero if the look-at direction falls outside the range.

{% embed url="https://streamable.com/kqgo51" %}
When the Direction is not in the Look At cone it will change the Weight to zero
{% endembed %}

### Parameters

#### Look-At limit

To apply the weight processor, if the angle between the look direction and the character's forward direction is less than the minimum value, the weight will be set to 1. If the angle is greater than the max limit value, the value will be set to zero.

#### Normalize by

Normalize the final result. (Divides the weight by this value)

#### Up Vector

Reference for the Up vector to calculate the Angle

#### Gizmo Radius

Shows a Visibility cone to represent the max and min limit values

***

## Weight State, Mode, and Stance

### How to use it

These processors will monitor if the animal using this IK processor changes a state, mode, or stance, and if that state, mode, or stance is included/excluded from the list, it will modify the processor weight

### Parameters (State)

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FhFggMFXEUoPiEjjVMKMS%2Fimage.png?alt=media&#x26;token=7cbf6c38-beab-4042-a37e-eb909723ec65" alt=""><figcaption></figcaption></figure>

#### State List

List of states to monitor

#### Profile

Check also the profile of the state. If it matches, then set the weight value&#x20;

#### Exclude

Change the weight so it excludes the states on the list

### Parameters (Modes)

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FaJswLzbb0RnDNUs1CHCV%2Fimage.png?alt=media&#x26;token=b3ae6efd-12e9-49f2-8017-cb57bc81eaa4" alt=""><figcaption></figcaption></figure>

#### Exclude All Modes

If the character is playing any mode, set the Weight to zero

#### Modes List

List of modes to monitor

#### Exclude

Change the weight so it excludes the modes on the list

#### Exclude Abilities

Change the weight so it excludes the abilities index on the list

#### Abilities List

List of abilities to monitor

### Parameters (Stances)

<figure><img src="https://963537199-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-Lzhr1XSMzMqNXjRnNlb%2Fuploads%2FrhMYmseLmwkahoj8wA8z%2Fimage.png?alt=media&#x26;token=c39bd97d-74aa-49e3-9dba-1265d92c7074" alt=""><figcaption></figcaption></figure>

#### Stances List

List of modes to monitor

#### Exclude

Change the weight so it excludes the stances on the list

