Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

[Solved] Fixed Timestep Jitter

Discussion in 'Cinemachine' started by MousePods, Dec 24, 2019.

  1. MousePods

    MousePods

    Joined:
    Jul 19, 2012
    Posts:
    808
    Hi,

    I have a simple scene that rolls a ball across the terrain with AddForce(). I also can jump using AddForce() all in Fixed Update.

    I needed more accuracy in my physics so I changed Fixed Timestep from the default 1/50 to 1/60.

    However, now I am getting a slight jitter once in awhile using cinemachine. This never happened with 1/50, only when I changed it to 1/60.

    I am new to this and cannot figure out how to rectify this issue?

    I am using cinemachine 2.3.4 and 2019.3.0f1

    Thanks!
     

    Attached Files:

    Last edited: Dec 24, 2019
  2. MousePods

    MousePods

    Joined:
    Jul 19, 2012
    Posts:
    808
    I believed I solved this by setting fixed timestep and maximum timestep allowed to the same number.
     
    Gregoryl and marc_tanenbaum like this.