I’ve made a simple vehicle and whenever I try to move, the front wheels which are steerable and use the servo hinge start to wobble and the whole car is spinning in one place. I’ve tried restructuring the car but I just can’t find the issue. Am I missing something?
The script I’m using for the car:
local steerangle = 25
local maxspeed = 50
local seat = script.Parent.VehicleSeat
local car = script.Parent
seat:GetPropertyChangedSignal("Steer"):Connect(function()
car.FR.servopart.ServoConst.TargetAngle = steerangle*seat.Steer
car.FL.servopart.ServoConst.TargetAngle = steerangle*seat.Steer
end)
seat:GetPropertyChangedSignal("Throttle"):Connect(function()
car.BL.wheel.MotorConst.AngularVelocity=maxspeed*seat.Throttle
car.BR.wheel.MotorConst.AngularVelocity=maxspeed*seat.Throttle
end)