Sway Layer

Basics

This layer applies procedural aiming and movement sway in runtime.

public void SetFreeAimEnable(bool enable)

Settings

You can find settings for this layer in your Weapon Anim Asset:

Used for the aiming weapon sway. Let's break down every property:

  • Rot/Loc - spring settings for each rotation and translation axis.

    • Stiffness - how much should this oscillate around the target.

    • Damping - how fast should it go to zero.

    • Speed - interpolation speed.

    • Mass - mass of the spring.

    • Max Value - clamp value for this spring.

  • Scale - multipliers for each axis.

Last updated