Jump to content
  • Advertisement
Sign in to follow this  
musch

Client side prediction: Interaction on server?

This topic is 4445 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hi! I've read one or two papers about the client side prediction technique, but I have a fundamental question that isn't answered in any of them: If on the server side objects are simulated in lockstep with the client, that is, in bursts of steps always when the next client input arrives, what is the best way to handle interaction between client avatars on the server? There is no common concept of time, so there must be some kind of compromise. Before starting out and trying all kind of things I would appreciate some input from people who have already gathered some experience with this problem. Regards cm

Share this post


Link to post
Share on other sites
Advertisement
The server should always have the authoritative state, so it will know where those two characters 'actually are' and can do the interaction accordingly, sending messages to both (all?) clients informing them of what has happened.

Share this post


Link to post
Share on other sites
For car crashes: When the local car sees a collision, it can add a bunch of smoke, which means that you won't see anything while the server is figuring out what to do :-)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!