mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
remove testing constants
This commit is contained in:
parent
79c6bf9167
commit
4308d33c50
@ -23,9 +23,6 @@ _navigationParams params ["_proportionalGain", "", "_derivativeGain", "_lastErro
|
|||||||
private _targetDistance = _projectile vectorWorldToModelVisual (_targetDir vectorMultiply _distance);
|
private _targetDistance = _projectile vectorWorldToModelVisual (_targetDir vectorMultiply _distance);
|
||||||
private _relativeDirection = _projectile vectorWorldToModelVisual _targetDir;
|
private _relativeDirection = _projectile vectorWorldToModelVisual _targetDir;
|
||||||
|
|
||||||
_proportionalGain = 50;
|
|
||||||
_derivativeGain = 50;
|
|
||||||
|
|
||||||
private _errorX = -1 max (1 min (_targetDistance#0 / _correctionDistance));
|
private _errorX = -1 max (1 min (_targetDistance#0 / _correctionDistance));
|
||||||
private _errorY = -1 max (1 min (_targetDistance#2 / _correctionDistance));
|
private _errorY = -1 max (1 min (_targetDistance#2 / _correctionDistance));
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user