Skip to content

Heavily mitigate jittery objects far from origin

This old commit (383524c6) introduced jittery objects that were far from the origin.

In this MR I simply increase precision of the objects current and previous position, which alleviates precision errors with the linear interpolation performed later on. For objects in the farthest landmasses (SHOTN) this virtually eliminates the jitter. I believe this change is quite benign and I could not measure any performance impact.

Before: https://streamable.com/pekfl3

After: https://streamable.com/1m2kh3

Merge request reports