CharacterMovementSway MonoBehaviour
Overview
The CharacterMovementSway behaviour adds an offset to the held weapon based on the character's velocity. This can help exaggerate movement and make the weapon feel more dynamic.
Inspector

Properties
| Name | Type | Description |
|---|---|---|
| Damping Time | Float | Approximately the time it will take to reach the target sway. A smaller value will reach the target faster. |
| Aiming Multiplier | Float | A multiplier applied to the offset when aiming down sights. This helps make the weapon more controlled |
There are also 4 sway limit sections - one for each direction. When moving diagonally, the sway will blend between the closest 2. Each of these section has the following properties:
| Name | Type | Description |
|---|---|---|
| Offset | Vector | The position offset to apply to the weapon when at or above the target speed for this direction. |
| Roll | Float | The rotation around the weapon's forward axis when at or above the target speed for this direction. |
| Speed | Float | The speed in this direction at or above which the full offset and roll will be applied. |