diff --git a/main.lua b/main.lua index abdc486..1f9a3bd 100644 --- a/main.lua +++ b/main.lua @@ -864,10 +864,10 @@ function UpdateGlobalThrust() -- Calculate desired thrust based on affectVectors and PID outputs if thruster.affectVectors.angular.pitch ~= nil and thruster.primary_pitch_thruster then - desiredThrust = desiredThrust + pitchOutput + pitchRateOutput + desiredThrust = desiredThrust + pitchOutput end if thruster.affectVectors.angular.roll ~= nil and thruster.primary_roll_thruster then - desiredThrust = desiredThrust + rollOutput + rollRateOutput + desiredThrust = desiredThrust + rollOutput end if thruster.affectVectors.angular.yaw ~= nil and thruster.primary_yaw_thruster then desiredThrust = desiredThrust + yawRateOutput