So i made a car, that is runned with a BodyVelocity and a BodyAngularVelocity. But if i turn, The bodyvelocity's velocity only goes in one direction. How can i fix this, and make the BodyVelocity go to the direction the car's front is facing?
script:
local s = script.Parent local car = s.Parent local stats = car.Base.Stats local function changed(pro) if pro == "Throttle" then car.Base.BodyVelocity.Velocity = Vector3.new(0,0,stats.TopSpeed.Value) * s.Throttle car.Base.BodyVelocity.MaxForce = Vector3.new(0,0,stats.Acceleration.Value)* 3000 * s.Throttle end if pro == "Steer" then car.Base.BodyAngularVelocity.AngularVelocity = Vector3.new(0,-stats.TurnSpeed.Value,0) * s.Steer end end s.Changed:Connect(changed)
I dont think "Body Velocity" is what you want.
Try using the "Body Thruster" instead