What is "Physics Jitter Fix" (physics/common/physics_jitter_fix) ?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By VinnieH01

I googled if godot has the ability to interpolate the rendering of rigidbodies and it seems like it hasn’t (correct me if I’m wrong). Instead I came across a setting called “Physics Jitter fix”. What does it do/mean? It has a default value of 0.5 and I have not been able to find what this means. The documentation just says “Fix to improve physics jitter, specially on monitors where refresh rate is different than physics FPS.” What happens if I set it to a higher or lower value? I tried it myself but couldn’t see a difference in the jitter (not that it jitters a lot in the first place).

:bust_in_silhouette: Reply From: Asheraryam

It was added in this pull request, you can look at the github page for more information about what it does.

PR: Use hysteresis for smoother physics update frequency

Issue: Fluctuating physics update count per render frame