So I am working on a plane and I have just started scripting the part where it actually takes off. I'm using BodyGyro and BodyVelocity but the plane doesn't go up no matter what I do, it just tilts up/down.
if takeoff then
lerp(gyro,.5,{CFrame = CFrame.Angles(0,math.rad(main.Orientation.Y),0)*CFrame.Angles(math.rad(-plane.VehicleSeat.Throttle*30),0,0)})
end
local dir = main.CFrame.lookVector
dir = Vector3.new(dir.x, dir.y, dir.z).unit
vel = (dir*throt*(throt2*1.01))
lerp(bv,.35,{Velocity = Vector3.new(vel.X, bv.velocity.Y, vel.Z)})
This is the main code of the plane's movement and I don't see anything in it that could be preventing the plane from going up.
