Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. We’re making changes to the Unity Runtime Fee pricing policy that we announced on September 12th. Access our latest thread for more information!
    Dismiss Notice
  3. 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:
    168
    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:
    168
  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:
    168
    Hi Simon! This works well, however, now animations appear to be much “floatier”, as I’m assuming because calculations are being made less often.