mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-23 03:29:51 +02:00
Merge pull request #119 from tresabhi/main
This commit is contained in:
9 files changed
+118
-66
No files matched your search
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user