Sign in to follow this  

Client side prediction: Interaction on server?

This topic is 4257 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
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

This topic is 4257 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.

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

Sign in to follow this