#Why am I jittering?
12 messages · Page 1 of 1 (latest)
So it's not just the GridMap. This is just a Mesh + StaticBody3D + CollisionShape3D.
It's me that's jittering. If I lerp the camera position to player position and this is what I see now.
Why am I jittering?
I've increased the physics ticks per second to 90, re-enabling vsync reduces it, but it's still there.
Try setting the physics ticks to your screen refresh rate
If that solves the jitter it's a physics interpolation issue
So the physics ticks were set to refresh rate when the problem first revealed itself. But having physics ticks set to refresh rate gives me zero jitter with vsync on, but bad jitter with vsync off.
Mhmm I don't fully understand why but sounds like an interpolation issue nonetheless.
Currently there's no built-in interpolation for 3d you so would have to code it yourself or use a plugin like this one
https://github.com/lawnjelly/smoothing-addon/tree/4.x
Amazing thanks, I was having a hard time with that addon because I was only finding links to the 3.x version. That has solved the problem 90%, it's far from perfect, but I can deal with it for now. Hopefully that gets implemented into the engine.
Currently targeted for v4.4 😉