Aim Assist

The Aim Assist component allows for the camera and character to automatically face the specified target. A crosshairs with the Crosshairs Monitor is required. If Aim Assist is active the crosshairs will notify that it has found a target and that the character/camera should look in the target’s direction.


  1. Add the Aim Assist and the Aim Assist Handler components to your camera.
  2. Ensure the Crosshairs Monitor has been added to your crosshairs. The Aim Assist component will target any object that uses the Character’s Enemy Layer.
  3. Set the desired values of the fields on the Aim Assist Handler and Aim Handler. The value that will most likely require modification is the Influence field of the Aim Assist component.
  4. The Aim Assist component has the option to target humanoid bones through the Target Humanoid Bone field. If the target is not a humanoid the Aim Assist Offset component can be added to the target GameObject to apply an offset to the look direction.


If you’d like to set the Aim Assist target within your own scripts you can do so with the SetTarget method:

using UnityEngine;

public class AimTarget : MonoBehaviour
    [Tooltip("The target that should be set to the AimAssist component.")]
    public Transform m_Target;

    public void Awake()
        var aimAssist = GetComponent<Opsive.UltimateCharacterController.Camera.AimAssist>();

Inspected Fields

Assist Aim

Should the component assist with the aiming?

Require Active Aim

Does the Aim ability need to be active in order for the component to assist with aiming?

Max Distance

The maximum distance that the target can be away from the character in order to start influence the aim.


The amount of influence the aim assist has on the camera rotation. The x value represents the angle delta between the current camera rotation and the camera rotation. The y value represents the amount of influence at that angle. A y value of 1 indicates complete influence while a value of 0 indicates no influence.

Target Offset

Specifies an offset to apply to the target.

Target Humanoid Bone

If the target is a humanoid should a bone from the humanoid be targeted?

Humanoid Bone Target

Specifies which bone to target if targeting a humanoid bone.

Break Force

The magnitude required in order to break the current target lock.

Switch Target Radius

If trying to switch targets, specifies the radius that the nearby targets should be in.

Switch Target Rotation Speed

If switching targets, specifies the speed at which the camera rotates to face the new target.

Max Switch Target Colliders

The maximum number of colliders that should be considered within the target switch.