# Recoil System

> To create a **Recoil Map**, go to:\
> **Create -> Aurora FPS -> Weapon -> Recoil Mapping**

![](https://4102492771-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbGcEmnwAxQ5XmsXrVA%2F-McF_f6oSrlLsFt4b3QM%2F-McFaxWEfpYO11ipgtzm%2Fimage.png?alt=media\&token=ed0d90f3-03ca-4d05-902b-5f7635ac70ee)

![](https://4102492771-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbGcEmnwAxQ5XmsXrVA%2F-McJzz4or_S_JjoIVugZ%2F-McK-rN0Pt7HeEDUY5fg%2Fimage.png?alt=media\&token=5f62a74f-d3f1-4da2-9add-12919a037f83)

**Recoil Mapping** is a list of conditions and settings for the recoil of weapons based on their conditions.

{% hint style="info" %}
To add a new condition, click on the plus sign and select the player's state.
{% endhint %}

![](https://4102492771-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbGcEmnwAxQ5XmsXrVA%2F-McJzz4or_S_JjoIVugZ%2F-McK0h1dxPVGDm3jUFSs%2Fimage.png?alt=media\&token=17837471-d3e9-454c-b76e-28a9c23c16ee)

After selecting the player's state (they can be combined) , you need to adjust the recoil.

![](https://4102492771-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbGcEmnwAxQ5XmsXrVA%2F-McJzz4or_S_JjoIVugZ%2F-McK0LzC9RgwuGtP8pox%2Fimage.png?alt=media\&token=560a217a-07cd-4438-803e-4637adce5054)

{% hint style="info" %}
There are 2 types of settings:

1. Setting up the return **(Recoil)**
2. Setting the deflection of bullets from the sight **(Spread)**
   {% endhint %}

### Recoil

This represents the recoil of the weapon.

| Property         | Description                                                                                                                                                                                                                                                                                                                                                         |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Recoil Iteration | <p>This is the pattern selection mode. </p><p><strong>Pass</strong>: The pattern will be selected sequentially and will eventually loop over the last one. <strong>Loop</strong>: The pattern will be selected sequentially and will eventually move to the beginning and so cyclically. </p><p><strong>Random</strong>: The pattern will be selected randomly.</p> |
| Recoil Duration  | This is the transition time to another vector that is described in the **Recoil** list.                                                                                                                                                                                                                                                                             |
| Recoil           | Here you can set a list of vectors that form a recoil pattern.                                                                                                                                                                                                                                                                                                      |

In Recoil, the number of vectors for the pattern is set&#x20;

Next, each vector is filled in:&#x20;

X-is responsible for horizontal recoil. A positive value moves the sight to the right.                                         Y-is responsible for the vertical recoil. A positive value moves the sight up.

### Spread

This represents the deviation of the bullets from the sight.

| Property         | Description                                                                                                                                                                                                                                                                                                                                                         |
| ---------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Spread Iteration | <p>This is the pattern selection mode. </p><p><strong>Pass</strong>: The pattern will be selected sequentially and will eventually loop over the last one. <strong>Loop</strong>: The pattern will be selected sequentially and will eventually move to the beginning and so cyclically. </p><p><strong>Random</strong>: The pattern will be selected randomly.</p> |
| Spread           | Here the pattern of deflection of bullets is set.                                                                                                                                                                                                                                                                                                                   |

The **Spread** specifies the number of elements for the pattern\
Then each element is filled in:

![](https://4102492771-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MbGcEmnwAxQ5XmsXrVA%2F-McKhFDippo49rr-lOUV%2F-McKiKJknlPAFMSuuU4i%2Fimage.png?alt=media\&token=bddad57e-4568-451e-aefe-91aa41b1cdab)

| Property | Description                                                          |
| -------- | -------------------------------------------------------------------- |
| X Axis   | Here you can set the horizontal range of bullets from **X** to **Y** |
| Y Axis   | Here you can set the vertical range of bullets from **X** to **Y**   |

### Shake Settings

Setting the camera to swing when shooting.
