How to make actor physics replication work with medium ping

The problem sounds simple but it’s difficult to solve. I’m not sure your solution can work. Your client simulates/predicts in the present but you only correct the position towards the past. After correction the client needs to catch up to the present again (server reconciliation). The way to do this is to fast forward the physx scene.

I think the reason there’s no plugin for this is because it’s impossible to do in a proper way without engine modification. For the best results you need fixed timestep (requires engine modification) and determinism (requires replacing physx with bullet physics).

Depending on your gameplay another way could be to disable client-side prediction entirely.

1 Like