So I made a simple car chassis and it seemed to be fine.
But then I found a problem.
At the normal speed, it does what I want
local MAX_SPEED = 40
local MAX_STEER = 30
But, that’s too slow for me so I tried to make it faster but if I make it faster this happens when I try to turn
local MAX_SPEED = 50
local MAX_STEER = 40
As you can see it spins out of control and even that is not fast enough for me. If I make it the speed I want it turning is even worse.
I don’t know much about the Roblox chassis system so I may just be doing everything wrong.
local MAX_SPEED = 40
local MAX_STEER = 30
local car = script.Parent
local driveSeat = car.DriveSeat
local leftMotor = car.LeftMotor
local rightMotor = car.RightMotor
local leftServo = car.LeftServo
local rightServo = car.RightServo
driveSeat.Changed:Connect(function(property)
if property == "ThrottleFloat" then
leftMotor.AngularVelocity = MAX_SPEED * driveSeat.ThrottleFloat
rightMotor.AngularVelocity = MAX_SPEED * driveSeat.ThrottleFloat
elseif property == "SteerFloat" then
leftServo.TargetAngle = MAX_STEER * driveSeat.SteerFloat
rightServo.TargetAngle = MAX_STEER * driveSeat.SteerFloat
end
end)