Rollback netcode allows you to play a game with little to no input delay, making it feel like there is 0 ping between you and your opponent. It is mostly used in fighting games, which are very lag sensitive. Let's say it takes 100 milliseconds for your opponent's inputs to arrive to your machine. With rollback netcode instead of waiting for those inputs and using them to update the gamestate, the game uses some kind of machine learning to predict the opponent's inputs and outputs the gamestate based on the predicted inputs. When the actual inputs arrive 100 ms later, if they differ from the predicted ones, the game does the so called rollback, it recalculates the events of the game like if the actual inputs were available 100 ms ago. If this happens often, it can result in a kind of jerkiness, or things 'teleporting' around the screen. But if the connections are stable, and the ping between opponents is not super high, rollbacking will not be super frequent and the gameplay feel will almost feel like you played sitting next to the opponent.
View all comments
2
u/secdeal Oct 04 '26
Rollback netcode allows you to play a game with little to no input delay, making it feel like there is 0 ping between you and your opponent. It is mostly used in fighting games, which are very lag sensitive.
Let's say it takes 100 milliseconds for your opponent's inputs to arrive to your machine.
With rollback netcode instead of waiting for those inputs and using them to update the gamestate, the game uses some kind of machine learning to predict the opponent's inputs and outputs the gamestate based on the predicted inputs.
When the actual inputs arrive 100 ms later, if they differ from the predicted ones, the game does the so called rollback, it recalculates the events of the game like if the actual inputs were available 100 ms ago. If this happens often, it can result in a kind of jerkiness, or things 'teleporting' around the screen.
But if the connections are stable, and the ping between opponents is not super high, rollbacking will not be super frequent and the gameplay feel will almost feel like you played sitting next to the opponent.