Search Unity

Question Character Movement in FixedUpdate with Animation Rigging?

Discussion in 'Animation Rigging' started by daniel_lochner, Jan 12, 2022.

  1. daniel_lochner

    daniel_lochner

    Joined:
    Jun 9, 2016
    Posts:
    175
    Hi there,

    Because my character interacts with the physics system, I need to move my character in
    FixedUpdate
    . Unfortunately, this causes all transforms constrained by the animation rig to jitter when moving.

    What is the recommended approach to character movement when using Animation Rigging?
     
  2. daniel_lochner

    daniel_lochner

    Joined:
    Jun 9, 2016
    Posts:
    175
  3. simonbz

    simonbz

    Unity Technologies

    Joined:
    Sep 28, 2015
    Posts:
    295
    Hi,

    Have you tried setting the update mode on your Animator to `Animate Physics`?

    Screen Shot 2022-03-15 at 1.45.01 PM.png

    This option will make your animation evaluate in fixed update time rather than in the normal game logic update loop.
    You can refer to the following page for more information on Unity order of execution.
     
  4. daniel_lochner

    daniel_lochner

    Joined:
    Jun 9, 2016
    Posts:
    175
    Hi Simon! This works well, however, now animations appear to be much “floatier”, as I’m assuming because calculations are being made less often.