Search Unity

  1. Unity 6 Preview is now available. To find out what's new, have a look at our Unity 6 Preview blog post.
    Dismiss Notice
  2. Unity is excited to announce that we will be collaborating with TheXPlace for a summer game jam from June 13 - June 19. Learn more.
    Dismiss Notice

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.