Search Unity

Question Animation rigging - Multi-Aim Constraint Source Object jitter

Discussion in 'Animation Rigging' started by pabloware, Mar 15, 2022.

  1. pabloware

    pabloware

    Joined:
    Oct 22, 2020
    Posts:
    15
    Hey,

    I'm using a CinemachineBrain that uses Late Update for its Blend Update Method. My character's movement and rotation are smooth. The only jitter involves the constrained weapon prefab in my rig while rotating. A "WeaponHolder" game object parents the weapon prefab and is the constrained object in the Multi-Aim Constraint. The Source Object is an "AimLookAt" object child of the Main Camera - this allows the weapon prefab to point in the direction of the Main Camera.

    Ways to stop weapon jitter:
    1.) Removing the "AimLookAt" Source Object removes the jitter, but the weapon PF no longer aims in the direction of the camera.
    2.) Changing the CinemachineBrain Blend Update Method to Fixed Update. This solves the weapon jitter but causes movement jitter.

    Does anyone have any ideas for how to maintain smooth movement, while eliminating the weapon prefab jitter?

    Thank you,
    Paul.