Original Post
Hello! I've been programming network physics a lot lately and finally settled down with interpolation. I found a great explanation by hplushplus0603 over HERE of how to do it. And I've got it to work between the client and server, but I'm having a bit of a problem, it's kind of hard to explain but I'll give it a try: When a player moves, it kind of "jump" back and forth on its path (not frequently, but very often). And I've come to the conclusion that it might has to do with the package arrival, you see, the interval between packags vary a bit. And I've noticed a connection between these shifts in the package arrival interval, and the "jumps" the player gets; Because every time it shifts, the player jumps a bit. The server on the other hand sends the packages at a given interval, 50ms, but it arrives on the client between 50 and 70 ms later, I guess it has to do with latency. The problem is kind of annoying since the player first starts to move, then it very quickly jumps ahead or backwards a bit, then back again on its path. But its not a rough jump, the client interpolates the player to that off position, then back again... Is this a common issue or what? I might have done something in the wrong way in the code, I don't know, thats why I'm posting this :P Thanks a bunch!