Hello everyone! My first post here.
I'm trying to build a fixed timestep to align my server with clients on updates.
I've been searching for a lot of info online before posting this. In my opinion this should work fine, I have no idea why it's still creating small jitters.
The algo on a big scale is something like:
PixiTickerLoop {
let elapsed = PIXI.Ticker.shared.elapsedMS
if (elapsed > 1000) elapsed = this.frameDuration
this.lag += elapsed
while (this.