# Character Controller

## Setting Character Controller

1. Paste “Model FBX” to hierarchy

![](/files/PE7efiuidSwJgJsSbtEN)

2\. Rename this model to “Player” and add tag to “Player”

3.Setting this model layer to “Player”

![](/files/CLe3xwhjWyaKAlE87lMl)

4\. Add script to this model > D3CONTROLLER:&#x20;

This Contain:

Character Controller, Animation Manager, Controller and Animator

let it be as follows:

![](/files/tZf8CV87kWYIuJLsuLr6)

5\. Create detection collision coin (use to detect coin) and Create magnet effect detection

![](/files/pry0ISsImt3e6MYWJquD)

6\. Animation Manager

In the folder "Animation"&#x20;

Find "CharacterAnimationGame"&#x20;

Just Duplicate it and assign it to your character.&#x20;

Optional: replace the default animations ([for more information here](/infinite-runner-engine-3d/game-scene/character-controller/change-animations.md))

<figure><img src="/files/6Xz6zRRWhp96ptjTIrZG" alt=""><figcaption></figcaption></figure>

7. Character Controller

This allows character movement&#x20;

-Change the size of the collider to fit your character

* This is the recommendation:

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

8. HoverBike And HoverBoard (Optional):

* Add all the objects to your character.
* Configure the position of the objects manually, which adjusts to the animation of your character.
* It does not matter if they are Active or deactivated in the hierarchy, the system automatically deactivates and activates them depending on the player's selection
* The HoverBike list is not random, the position in the list of each element is the purchase ID, example position 1, ID in the Purchase 1 store. Do not forget. For more information check out the sample created players. If you have objects with specific animations you should change the animation ([follow here for more information](/infinite-runner-engine-3d/game-scene/character-controller/change-animations.md))

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


---

# 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://denvzla-estudio.gitbook.io/infinite-runner-engine-3d/game-scene/character-controller.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.
