feat: season 4 updates

This commit is contained in:
TrèsAbhi committed 2024-05-22 13:04:39 -05:00
1 parent cdd2a08ec0
commit 903b7fa677
9 files changed
+118 -66

No files matched your search

+4 -3
View File
@@ -19,9 +19,10 @@ export function applyPitchYawLimits(
);
}
const pitchBuff = verticalStabilizer ? degToRad(3) : 0;
let lowerPitch = -degToRad(pitchLimits.max) - pitchBuff;
let upperPitch = -degToRad(pitchLimits.min) + pitchBuff;
const depressionBuff = verticalStabilizer ? degToRad(4) : 0;
const elevationBuff = verticalStabilizer ? degToRad(3) : 0;
let lowerPitch = -degToRad(pitchLimits.max) - depressionBuff;
let upperPitch = -degToRad(pitchLimits.min) + elevationBuff;
const transition = degToRad(pitchLimits.transition ?? 10);
if (pitchLimits.back) {