Friday, November 22, 2019

networking - Best strategy (tried and tested) for using Box2D in a real-time multiplayer game?



I am currently tackling real-time multiplayer physics updates for a game engine I am writing. My question is how best to use Box2D for networked physics. If I run the simulation on the server, should I send position, velocity etc to every client on every tick? Should I send it every few ticks? Maybe there is another way that I am missing?


How has this problem been solved using Box2D before? Anyone with some ideas would be greatly appreciated!




No comments:

Post a Comment

Simple past, Present perfect Past perfect

Can you tell me which form of the following sentences is the correct one please? Imagine two friends discussing the gym... I was in a good s...