From f79dde58a479a2b95b2e169687d2efa3c523bdd5 Mon Sep 17 00:00:00 2001 From: Bailey Danyluk Date: Mon, 4 Apr 2022 18:49:01 -0600 Subject: [PATCH] remove debug sets --- addons/missileguidance/functions/fnc_navigationType_line.sqf | 3 --- 1 file changed, 3 deletions(-) diff --git a/addons/missileguidance/functions/fnc_navigationType_line.sqf b/addons/missileguidance/functions/fnc_navigationType_line.sqf index 8a9cef6744..77b856321f 100644 --- a/addons/missileguidance/functions/fnc_navigationType_line.sqf +++ b/addons/missileguidance/functions/fnc_navigationType_line.sqf @@ -22,9 +22,6 @@ _flightParams params ["_pitchRate", "_yawRate"]; _navigationParams params ["_proportionalGain", "", "_derivativeGain", "_lastErrorX", "_lastErrorY", "_correctionDistance"]; private _relativeTargetDirection = [0, (velocityModelSpace _projectile) select 1, 0] vectorAdd (_projectile vectorWorldToModelVisual (_targetDir vectorMultiply _distance)); -_proportionalGain = 50; -_derivativeGain = 0; - private _angleX = ((_relativeTargetDirection select 0) atan2 (_relativeTargetDirection select 1)); private _angleY = ((_relativeTargetDirection select 2) atan2 (_relativeTargetDirection select 1));