Changed: Seeker to aimPoint instead of ASL position

This commit is contained in:
Alessandro Foresi 2015-09-19 16:22:36 +02:00
parent f3a175e9d6
commit 22ac16ead5

View File

@ -17,7 +17,7 @@ TRACE_1("", _launchParams);
// TODO:: Make sure the missile maintains LOS
_foundTargetPos = [0,0,0];
if(!isNil "_target") then {
_foundTargetPos = getPosASL _target;
_foundTargetPos = aimPos _target ;
//_foundTargetPos = (_target modelToWorldVisual (getCenterOfMass _target));
};
@ -48,4 +48,4 @@ if(!_angleOkay || !_losOkay) then {
};
_foundTargetPos;
_foundTargetPos;