> For the complete documentation index, see [llms.txt](https://andres-organization-9.gitbook.io/luxus-1-assets/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://andres-organization-9.gitbook.io/luxus-1-assets/animal-controller-states/push-and-pull/step-by-step-guide/setting-up-the-character.md).

# Setting Up the Character

#### Configure Character State:

Head to your character's setup and drag and drop the scriptable object PushPull into the animal states list. Arrange it in the order you need within the list.

<figure><img src="https://187838865-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjoxzeUVDkRwW8AmzQBoq%2Fuploads%2FnNPEj0Yk6CwIQVdgFUH1%2Fimage.png?alt=media&amp;token=ad1f782e-5e6b-4a79-a87f-c6237c15fb35" alt=""><figcaption></figcaption></figure>

#### Modify State:

Modify the state settings as per your requirements. Set the input that will activate the state for push and pull actions.

&#x20;![](https://187838865-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjoxzeUVDkRwW8AmzQBoq%2Fuploads%2FufMl3TVCaDfoU1ZZIsOK%2Fimage.png?alt=media\&token=c77db8ac-8e71-47c6-a71e-e19840082503)

#### Ensure Tag Matching:

Double-check that the tags used to identify the object's state in the character's scriptable object match the ones set up in the PushPullObject script.

&#x20;![](https://187838865-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjoxzeUVDkRwW8AmzQBoq%2Fuploads%2FXpGdwazqgundqSPgTllc%2Fimage.png?alt=media\&token=83f7717b-e034-43c5-b1d0-18560d932040)

#### Adjust Ray Height:

Ensure that the height of the ray used for detecting the object can reach the object. Adjust the raycast distance if necessary.&#x20;

#### Animator Controller Configuration:

*Copy Sub-State with Transition:*

Navigate to the animator controller in the project folder of your character. Copy the sub-state containing the transition related to push and pull actions.

*Paste into Character's Animator Controller:*

Paste the copied sub-state into the animator controller of your character. Ensure that the State ID in the transition matches and is unique within the controller.

<figure><img src="https://187838865-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjoxzeUVDkRwW8AmzQBoq%2Fuploads%2FctfBc8v9QvoV2rsVQrdL%2Fimage.png?alt=media&amp;token=d57251c0-a8ab-42fe-9107-3e8840e157f4" alt=""><figcaption></figcaption></figure>

<figure><img src="https://187838865-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FjoxzeUVDkRwW8AmzQBoq%2Fuploads%2F9ZkAwMR7W7HJOPX9Vcvz%2Fimage.png?alt=media&amp;token=73b1d8c8-b2e1-468a-9669-14b749b23f92" alt=""><figcaption></figcaption></figure>

####
