You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Attached is a minimal reproduction project where strafing the player using left/right arrow keys shows a jitter.
I believe using _physics_process instead of _process should be the fix to keep the camera in sync with the physics simulation.
The text was updated successfully, but these errors were encountered:
I believe using _physics_process instead of _process should be the fix to keep the camera in sync with the physics simulation.
While it should be feasible to add a process mode property, this is the wrong approach to do it. You should set up physics interpolation using https://github.com/lawnjelly/smoothing-addon instead, as you're negating most of the benefits of high refresh rate monitors otherwise (and introducing jitter when the player uses the mouse to look around and moves at the same time).
Calinou
changed the title
Interpolated camera jitters when moving player
Add a process mode property to toggle between "process" and "physics"
Mar 5, 2023
I tried out the addon you mentioned. It seems like the issue I am having is related to the model not being translated with physics interpolation. Thanks!
InterpolatedCameraJitter.zip
Attached is a minimal reproduction project where strafing the player using left/right arrow keys shows a jitter.
I believe using
_physics_process
instead of_process
should be the fix to keep the camera in sync with the physics simulation.The text was updated successfully, but these errors were encountered: