Jump to content
  • Advertisement
rrr333

Yet another interpolation question

Recommended Posts

Theoretically, yes, latency can go up, especially if you're on a bandwidth limited connection and someone else starts streaming Netflix or downloading the blockchain or whatever. You can deal with this by having an "acceptable time difference window," and when the prediction goes out of this window in either direction, make the adjustment to the local offset. To avoid adjusting every time there's a delay, you may want to only make adjustments after there's been a few seconds of delta in the same direction. Time sync over a lossy TCP connection is a messy problem .... but in the end, what matters, is that events happen in the same order on all screens!

Share this post


Link to post
Share on other sites
Advertisement

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!