Cars jittering when driving at high speed

You can write your topic however you want, but you need to answer these questions:

  1. What do you want to achieve? Keep it simple and clear!
    Make the cars not jitter/step/bounce when driving

  2. What is the issue? Include screenshots / videos if possible!
    Cars currently jitter/step/bounce when driving. See attached videos.

  3. What solutions have you tried so far? Did you look for solutions on the Creator Hub?

  • Adding a random physics part attached by a constraint (reduced the problem slightly)
  • Smoothing out the drive force of the car (no effect)
  • Removing the car’s visual wheels (no effect)
  • Setting the camera to update on .PreRender instead of on .Heartbeat (made the currently focused car way less smooth)

The cars are set to be server-owned and are one rigid assembly each with VectorForces that move it.

The camera (using the default roblox CameraTypes) is focused on one car at a time and the issue does not appear with that specific car (probably because the camera follows it shaking). All cars that the camera is not currently attached to appear to have this issue.

The issue is somewhat inconsistent, it doesn’t shake at a constant frequency or move by the same amount each time. It happens significantly more often at higher speeds.
I am assuming this has something to do with Roblox’s part networking, I don’t know what exactly causes it or how to fix it.


1 Like

I pretty sure this is network ownership as the jittering is happening to only to other players. Maybe if you look at how they both move on the server to be sure.

1 Like

It doesn’t matter who is spectating or driving a car, all cars (besides the one the camera is focused on) appear to shake. As I said, all the cars are server-owned.

1 Like

Does the jittering still happen if you are watching on the servers POV? If the jittering doesent happen on the server POV, it is a network issue.

2 Likes

How can I watch the server POV while in the game?

Run a test server with a client or two and just watch on the server while you drive on the client. It should be a little button on the top left that says “Server & Clients”

1 Like

Or you could press the Client/Server toggle button while running a normal solo playtest in studio.

It doesn’t matter who owns the cars, it’s desync and its normal in a sense.

What is going on is your game and client are disagreeing on the positioning of the vehicles, this is because cars have a lot of complex mechanics to them and so physically they are hard to render properly.

The only thing you can do is to simplify the moving parts and keep constraints to a minimum where possible. Also look into making sure any items in the car that can be essientially decoratized (NoCollide, NoTouch, NoQuerry, COllision Fidelity set to box) so that the game basically treats it like a simple object.

2 Likes