mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
remove debug sets
This commit is contained in:
parent
71e01a2ee4
commit
f79dde58a4
@ -22,9 +22,6 @@ _flightParams params ["_pitchRate", "_yawRate"];
|
|||||||
_navigationParams params ["_proportionalGain", "", "_derivativeGain", "_lastErrorX", "_lastErrorY", "_correctionDistance"];
|
_navigationParams params ["_proportionalGain", "", "_derivativeGain", "_lastErrorX", "_lastErrorY", "_correctionDistance"];
|
||||||
private _relativeTargetDirection = [0, (velocityModelSpace _projectile) select 1, 0] vectorAdd (_projectile vectorWorldToModelVisual (_targetDir vectorMultiply _distance));
|
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 _angleX = ((_relativeTargetDirection select 0) atan2 (_relativeTargetDirection select 1));
|
||||||
private _angleY = ((_relativeTargetDirection select 2) atan2 (_relativeTargetDirection select 1));
|
private _angleY = ((_relativeTargetDirection select 2) atan2 (_relativeTargetDirection select 1));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user