- Operating System
- Windows 10 x64
Bring the game network code back to normal. It is believed that the power of the server calculates the trajectory and physics of the vehicle. The server should not send the client incorrect data about the estimated coordinates, speed of the vehicle and its condition.
I noticed that lag occurs often when a vehicle changes speed or course direction. Moreover, the braking of the vehicle and a change in course of 90 degrees (or more) - causes a strong lag in the client. On the server, other players do not see this lag - the car stands still, or goes smoothly. But if the car receives critical damage on the client, the server will record the damage on the vehicle.
Do your job for the vehicle; it should look reliable.