#Movement server side
1 messages · Page 1 of 1 (latest)
(You don’t have to read this rn cause I’m gonna be busy writing an essay for a while.) So this guy had a great tutorial that set up the template for server side, client prediction, player reconciliation movement. However, I still have to implement into my specific program. If I understand correctly, the client should take in input and send it to the server, then, both the server and the client run the code ( the client should be done a bit quicker) and the results are compared. If the results are the same, all is good, if they are not, the server resets the client position based upon the server position. Is this correct?
Basically yea. though its normally the client resetting positions based on server data. There are also ways that the server will roll back and recalculate based on client input