The car works perfectly fine in the studio, no delays or whatsoever, but whenever I play the actual game it gives about a 2-3 second delay in turning controls and throttle. I've also noticed that players with lower pings have lower delay time. Is there a way to fix this?

7 comments

0

Does a server script handle moving the car? The server side can lag causing delays.

0

Yup, but it mostly relies on roblox’s vehicle system. What my script does is just that it handles the steering.

0

Most likely it's just player latency, something you can't do a huge amount about. If you share your script in your question we can confirm this

0

How do most other games get away with this?

0

Probably they just have players who have better connections/computers, depending on the type of lag. Once again, can you add the relevant scripts to your question?

0

Try making the player who is driving the network owner. This is a problem on Roblox usually called seatlag.

0

Use Client-Side Prediction (Google it). It will help people with slow connection.