fix: japanese gun depression

This commit is contained in:
TrèsAbhi committed 2024-08-01 14:16:42 -05:00
1 parent ed4658adcc
commit 99cdf931a8
2 files changed
+6 -6

No files matched your search

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