the linear velocity is in the line constraint mode
relative to attachment 0
its meant to go the way the blue arrows are pointing
video:
code:
if not motor:IsA("LinearVelocity") then continue end
local side = motor.Parent.Name:lower()
if toThrottle ~= 0 then
motor.LineVelocity = speed
elseif toThrottle == 0 and toSteer == 0 then
motor.LineVelocity = speed
end
if toSteer ~= 0 and toThrottle == 0 then
if side == "right" then motor.LineVelocity = turnSpeed end
if side == "left" then motor.LineVelocity = -turnSpeed end
end