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