Jittery motion with body velocity

I’m trying to make a vehicle using body velocities, but whenever I let go of A or D, the vehicle stops and then resumes motion. This is incredibly annoying and is not how I want it. Any ideas?

local speed = 15
local steerDampening = 10

while wait() do
	script.Parent.BodyVelocity.Velocity = script.Parent.VehicleSeat.CFrame.LookVector * script.Parent.VehicleSeat.Throttle * speed
	
	script.Parent.CFrame = script.Parent.CFrame * CFrame.fromEulerAngles(0, -script.Parent.VehicleSeat.Steer / steerDampening, 0)
end

1 Like

Because CFrame changes aren’t smooth, you could use BodyGyro nor TweenService for it

2 Likes

If there’s a game where this could be tested, that would be excellent.

I’m unable to really help with this until I know if it’s just stopping, then continuing without doing anything else or if it fully stops.

1 Like

How would I use body gyro for this?

1 Like