Hi folks. So my online multiplayer game has simple 6DOF movement using the floating pawn movement class. When you move in any direction, the speed is 3500 - no acceleration, no physics force. You just go 3500 immediately. I set up my simple server movement replication like so and it works perfectly with a good connection:
But of course, on worse CPUs/network connections it can look jittery. For my case, what is the best way to “smooth” the jitter so that when the affected character’s movement replicates to other clients it doesn’t jitter or teleport but rather moves smoothly in the predicted vector? I imagine it’s one of the VInterp or Ease functions, but I am at a loss where to get a sort of “previous actor location” so that the two vectors I am easing from and to are legit. In other words, Interp and Ease require two vectors to smooth. I can get the current actor location, but what is the other vector I am trying to get? Is there another way to accomplish the fakery I’m trying to achieve?
For good measure, here are three ways that aren’t working really, but are doing something. The Ease function seems to smooth the best but I am basically using the same location from a few ticks before to simulate a “previous” actor location.
And if you’re wondering what the game plays like: