What happens is the client thinks that the cart in front of me has a velocity set to zero when it shouldn’t. I think interpolation would be great.
1 Like
Would love to see what other people have to offer on this problem. Personally I’d be tempted to disable collisions outright and make my own collision checker, possibly with raycasts, as well as some form of velocity tracking for opponents’ karts so I could better calculate how the vehicles should bump off of one another. I don’t think interpolation is the culprit here so much as some amount of lag spike/packet loss from the other client.
I would calculate collisions on the server personally. The client would be offsetting the position of the carts according to the ping or the physics and the server will send any information on a collision that occured.