# Body Leaning Setup

Some characters may have different skeleton rig than normal, **if your character is leaning normally you can skip this page.**

<div align="left" data-full-width="false"><figure><img src="https://2945806600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCQMDx0LmgnRXXTklLhoh%2Fuploads%2FwUceLJijxQC95U75xpID%2Fimage.png?alt=media&#x26;token=1ba48be2-82e9-422d-9d5e-a4d8f8bd6823" alt="" width="370"><figcaption></figcaption></figure></div>

Above we see a comparison in the direction of the Z axis, which in the Unity engine should be the front axis.&#x20;

In principle there is no problem in having a character with bones with different orientation, but this can affect some procedural animations like Lean Body and Procedural Driving Animation:

<div align="left"><figure><img src="https://2945806600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCQMDx0LmgnRXXTklLhoh%2Fuploads%2FLsJ0OkcLH1SfIHpdpkAr%2FPOLYGON%20CHARACTER%20JU%20TPS%203%20ISSUE.gif?alt=media&#x26;token=3cad2aa9-f1e6-4202-9047-bc64000e777b" alt="" width="217"><figcaption><p>Body Lean in wrong axis</p></figcaption></figure></div>

<div align="left"><figure><img src="https://2945806600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCQMDx0LmgnRXXTklLhoh%2Fuploads%2FSYvOppPjZhOhQKkhs0ts%2FPOLYGON%20CHARACTER%20JU%20TPS%203%20ERROR%20LEAN.gif?alt=media&#x26;token=95b15424-af92-4096-88b1-83590d484481" alt="" width="238"><figcaption><p>Procedural Driving Animation in wrong axis</p></figcaption></figure></div>

To solve this is simple, just configure the axis of the Components below:

<div align="left"><figure><img src="https://2945806600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCQMDx0LmgnRXXTklLhoh%2Fuploads%2FUieNzmR89jQ6Qog2oDaU%2Fimage.png?alt=media&#x26;token=9f7b6e37-55ea-47a1-a5da-03af74d9307f" alt=""><figcaption><p>POLYGON Character JU TPS 3 Setup</p></figcaption></figure></div>

{% hint style="success" %}
**It is possible that this configuration above does not work for your character**, since each character can vary the orientations depending on the software it was made and the way it was exported, but you just need to see which axes of the character's bones should be rotated, you can experiment with settings until one that works best for your character.
{% endhint %}


---

# 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://julhiecio.gitbook.io/ju-tps-documentation/quick-start/how-to-create-a-ju-character-reskin-default-character-setup-new-characters/body-leaning-setup.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.
