mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
I had accidently commented out seeker FOV on the Titan rockets.
This commit is contained in:
parent
206e42be72
commit
2d6b2f9a1a
@ -19,7 +19,7 @@ if(!isNil "_target") then {
|
||||
_foundTargetPos = getPosASL _target;
|
||||
};
|
||||
|
||||
/* @TODO: This is seeker LOS and angle checks for LOAL only; LOBL does not need visual
|
||||
// @TODO: This is seeker LOS and angle checks for LOAL only; LOBL does not need visual
|
||||
_angleFov = _seekerParams select 0;
|
||||
_angleOkay = [_projectile, _foundTargetPos, _angleFov] call FUNC(checkSeekerAngle);
|
||||
|
||||
@ -34,7 +34,7 @@ if(!_angleOkay || !_losOkay) then {
|
||||
_foundTargetPos = _sensorPos vectorAdd ((velocity _projectile) vectorMultiply 5);
|
||||
} else {
|
||||
TRACE_2("", _target, _foundTargetPos);
|
||||
|
||||
private["_projectileSpeed", "_distanceToTarget", "_eta", "_adjustVelocity"];
|
||||
// @TODO: Configurable lead for seekers
|
||||
_projectileSpeed = (vectorMagnitude velocity _projectile);
|
||||
_distanceToTarget = (getPosASL _projectile) vectorDistance _foundTargetPos;
|
||||
@ -45,5 +45,5 @@ if(!_angleOkay || !_losOkay) then {
|
||||
_foundTargetPos = _foundTargetPos vectorAdd _adjustVelocity;
|
||||
};
|
||||
|
||||
*/
|
||||
|
||||
_foundTargetPos;
|
Loading…
Reference in New Issue
Block a user