# How to align weapon rotation

## Align in hand weapon direction

If you align like this by default you will get a good result:

<div align="left"><figure><img src="https://2945806600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCQMDx0LmgnRXXTklLhoh%2Fuploads%2Fev0p1SZBNnzCG6bGXfhj%2Fimage.png?alt=media&#x26;token=754ab8ca-2456-456c-a3ed-92ae46b0e198" alt=""><figcaption></figcaption></figure></div>

## Item Aim Rotation Center Align

Is an essential component to assist with hand position and rotation during Fire Mode, it is automatically created in the [JU Character Controller](https://julhiecio.gitbook.io/ju-tps-documentation/quick-start/how-to-create-a-ju-character-reskin-default-character-setup-new-characters) setup.

<div align="left"><figure><img src="https://2945806600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCQMDx0LmgnRXXTklLhoh%2Fuploads%2F8KzEfpsHfFjdnlVr26G8%2Fimage.png?alt=media&#x26;token=1f157fe5-3476-4504-aadd-694dee751728" alt=""><figcaption></figcaption></figure></div>

The Item Aim Rotation Center has the item wielding positions, and this will affect the direction of the weapon.&#x20;

<div align="left"><figure><img src="https://2945806600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCQMDx0LmgnRXXTklLhoh%2Fuploads%2FqEJUf8LjLhz3vXdIVfYL%2FItem%20Aim%20Rotation%20Center%20Adjusting%20Holding%20Rotation.gif?alt=media&#x26;token=443c5bb8-2a43-44a1-b0a4-8091300da2c2" alt=""><figcaption></figcaption></figure></div>

{% hint style="info" %}
This rotation will not affect the trajectory of the bullet, adjust it so that the rotation is closer to aiming at the center of the camera. You may need to adjust the weapon rotation as well to get it to look good.
{% endhint %}

## Aim Mode Align

If you want to use "Aim Mode" you will have to adjust the rotation of the weapon in this mode. <br>

First, change your JU Character Controller's setting to "One Press To Aim" mode to adjust properly:

<div align="left"><figure><img src="https://2945806600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCQMDx0LmgnRXXTklLhoh%2Fuploads%2FYPEbtLNrl9JlYHH9HjE5%2Fimage.png?alt=media&#x26;token=3197ccf6-596c-4019-8a6b-ecfa4e120ba9" alt=""><figcaption></figcaption></figure></div>

Place the **Game** and **Scene** windows side by side, press **play** and **aim**, press the **Esc key** and click on the weapon in the Hierarchy. Then just adjust the rotation so that the weapon's crosshairs align correctly with the center of the screen crosshair:

<div align="left"><figure><img src="https://2945806600-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FCQMDx0LmgnRXXTklLhoh%2Fuploads%2FaCkiFh2aO89FtRsPz7Yb%2FAligning%20Aim%20Rotation.gif?alt=media&#x26;token=a1f1e206-8ca6-46c4-a951-ec4eafdbbccd" alt=""><figcaption><p>Note: if you are not seeing this green crosshair on the screen activate Gizmos</p></figcaption></figure></div>

After aligning, just **copy the rotation** of the weapon, **exit Play Mode** and **paste the rotation into Transform Component**.&#x20;
