Hello! I have been trying to achieve smooth 2D ball physics on the client to improve the gameplay experience but I’m not quite sure on what to do next.
I already have an “almost” fully deterministic custom physic engine for my ball but that isn’t enough to keep the ball in sync with the server. Due to the latency and variation of the physic steps on the client, sometimes different outcomes can happen and desync the ball. How would I be able to go about this?
No, I may have been unclear but what I’m trying to achieve are smooth physics on the client witheout the delay caused by latency. I’m not trying to replicates roblox’s i’m trying to simulate physics on the client as well as match it on the server to make it smooth.
I’m trying to have the physics on the client behave smoothly and instantly unlike roblox’s physic which has a delay due to ping (time it takes for request to arrive). So when the client touches the ball instead of it moving after 0.2s it would move instantly. Does this clear your confusion?