continued from last commit

This commit is contained in:
2026-06-29 21:02:07 -05:00
parent 1ab0510826
commit c80855dc2f

View File

@@ -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