mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #2527 from alef/issues/titan_miss
Fix: Titan hitting ground instead of vehicle
This commit is contained in:
commit
3682a1710b
@ -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