mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Changed: Seeker to aimPoint instead of ASL position
This commit is contained in:
parent
f3a175e9d6
commit
22ac16ead5
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user