Aim Motion Component


Aim Motion Component enables aiming by using AimingAlpha to center the weapon in the character’s viewport. It also supports a runtime-tweakable AimOffset, allowing the equipment to “focus” on a specific point (for example, optics and iron sights).
Placement: Preferably on the equipment.
Default Computation Stage: 2
Inputs:
Absolute Reset Rotation: The absolute rotation to use while aiming. This helps correct alignment depending on the equipment’s origin.
Use Aim FOV: Enable if you want this component to control the FOV while aiming.
Aim FOV: The target FOV to use when
UseAimFOVis enabled.
AimMotionComponent should generally only be applied in first person.

Usage
The Aim Motion Component is typically driven every tick using two values: AimingAlpha and AimOffset.
1. Update AimingAlpha (every tick)
Compute
AimingAlphabased on whether the character is aiming (usually a smooth 0 → 1 blend).Set the component’s
AimingAlphaeach tick. At this stage, the weapon should already be centered in the camera, so this value controls the aim blend.

2. Update AimOffset (every tick)
Compute
AimOffsetfrom a socket transform on the weapon (commonly an ADS socket).You can also derive this from attachment sockets (optics, sights, etc.) if needed.
Set the component’s
AimOffseteach tick so the weapon can “focus” correctly on the selected aiming point.

Last updated