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 have updated the language to the Editor Terms based on feedback from our employees and community. Learn more.
    Dismiss Notice

Question Interpolating rigidbody rotations with Cinemachine cause jitter

Discussion in 'Physics' started by MysteryManz, Jul 5, 2022.

  1. MysteryManz

    MysteryManz

    Joined:
    Nov 9, 2021
    Posts:
    2
    Hello guys. I'm facing a problem as the title. The Rigidbody Interpolate is set to Interpolate and Cinemachine brain is set to default. Anyone can help me?
    There are video and movement script file below.

     

    Attached Files:

  2. centaurianmudpig

    centaurianmudpig

    Joined:
    Dec 16, 2011
    Posts:
    92
    You are using Time.delta time in teh FixedUpdate loop, you should using Time.fixedDeltaTime instead.
     
  3. MysteryManz

    MysteryManz

    Joined:
    Nov 9, 2021
    Posts:
    2
    I thought in FixedUpdate, Time.deltaTime = Time.fixedDeltaTime = 0.02s
     
  4. centaurianmudpig

    centaurianmudpig

    Joined:
    Dec 16, 2011
    Posts:
    92