I have been using a form of prediction correction for a while, but I hadn't noticed that it failed with certain latency.
Whilst it may have been something i did in a later commit, I'm still not happy with it
- I am unable to perform rollbacks / rewind physics
- I am therefore forward predicting the receipt of the input packet on the client
At the moment, I am checking what the server state is in comparison to the prediction for that receival tick
Then I get the error vector, add it to the current position, and add it to all later received states. However, if an object is falling when it shouldn't be this creates some problems.
How would someone do this?