> For the complete documentation index, see [llms.txt](https://myty.gitbook.io/products/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://myty.gitbook.io/products/kit/make-animation/9.-apply-motion-tracking/character-movement.md).

# Character Movement

## Head movement

Since the actual human neck and head are rotational joints that move in **3D space**, motion data values are calculated in **three major axes**. At this time, the names of the three axes will change depending on which axis you look at as a reference, and the movements based on each axis will appear differently. First, the **Up vector** and the **LookAt vector** are defined, and then the direction of movement will be determined based on each vector.

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

### From Up Vector

* If the Up vector is the standard, the x-axis movement becomes Roll, the y-axis movement becomes pitch, and the z-axis movement becomes yaw.

<figure><img src="/files/5CNUhi3c5DOsKtMMu7mX" alt=""><figcaption></figcaption></figure>

### From LookAt Vector

* If the LookAt vector is the standard, the x-axis movement becomes pitch, the y-axis movement becomes yaw, and the z-axis movement becomes roll.

<figure><img src="/files/4M2lNeyiQNKBiTaMQYAx" alt=""><figcaption></figcaption></figure>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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, and the optional `goal` query parameter:

```
GET https://myty.gitbook.io/products/kit/make-animation/9.-apply-motion-tracking/character-movement.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
