I am trying to setup a custom car for a game of mine.
When ever I sit on the vehicle the front wheels start to wobble like crazy and I can’t seem to figure out why.
https://gyazo.com/2bb03881700cab22ffb02b5ae5f9ab4d
This car comes from one of alvinblox’s tutorials but I have no way of asking him what is wrong with it so I am resorting to talking to here.
After that, you should include more details if you have any. Try to make your topic as descriptive as possible, so that it’s easier for people to help you!
Script I'm Using
local seat = script.Parent.Parent.VehicleSeat
local backLeft = script.Parent.Parent.BackLeft
local backRight = script.Parent.Parent.BackRight
local frontLeft = script.Parent.Parent.FrontLeft
local frontRight = script.Parent.Parent.FrontRight
local steerAngle = 25
local speed = 60
seat:GetPropertyChangedSignal("Steer"):Connect(function()
frontLeft.PartB.SteeringConstraint.TargetAngle = steerAngle * seat.Steer
frontRight.PartB.SteeringConstraint.TargetAngle = steerAngle * seat.Steer
end)
seat:GetPropertyChangedSignal("Throttle"):Connect(function()
frontLeft.Wheel.WheelConstraint.AngularVelocity = speed * seat.Throttle
frontRight.Wheel.WheelConstraint.AngularVelocity = speed * -seat.Throttle
backLeft.Wheel.WheelConstraint.AngularVelocity = speed * seat.Throttle
backRight.Wheel.WheelConstraint.AngularVelocity = speed * -seat.Throttle
end)```
If anyone can help I would greatly appreciate it