diff --git a/main.lua b/main.lua index cf3e2c0..c6713a0 100644 --- a/main.lua +++ b/main.lua @@ -771,6 +771,7 @@ function UpdateGlobalAngularThrust() desiredAngularThrustVectors[f] = CustomSigmoid(v) end + local thrustDirections = {} for f, v in pairs(desiredAngularThrustVectors) do if f == "wx" then if v > 0 then table.insert(thrustDirections, { pitchdown = v }) else table.insert(thrustDirections, { pitchup = math.abs(v) }) end