I am trying to make the vehicle pitch upwards whenever applying throttle, however, whenever it is rotated on the yaw axis (after steering), the vehicle won’t pitch upwards the same. How could I adjust my code to account for this to ensure it is always pitching upward and not how it is in the video shown below?
I am using BodyMovers like BodyGyro, BodyVelocity, and BodyPosition.
-- this is in a while loop
if seat.Throttle ~= 0 then
if not throttle then -- this is a debounce so it's not doing flips
throttle = true
rot.pitch = .5
end
bv.velocity = base.CFrame.lookVector * seat.Throttle * 50
else
bv.velocity = Vector3.new(0,0,0)
if throttle then throttle = false rot.pitch = 0 end
end