mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Fixed: Reduce bouncing.
TODO: wtf is going on with the lateral axis? TODO: maybe dummy laser that doesnt show up as a target.
This commit is contained in:
parent
368b51e0ee
commit
ced44f8a9d
@ -48,7 +48,6 @@ FUNC(laserHudDesignatePFH) = {
|
||||
_povDir = _turretInfo select 1;
|
||||
|
||||
_result = [_povPos, _povDir] call EFUNC(laser,shootCone);
|
||||
|
||||
if((count _result) > 0) then {
|
||||
_resultPositions = _result select 2;
|
||||
|
||||
@ -67,7 +66,7 @@ FUNC(laserHudDesignatePFH) = {
|
||||
["ace_fcs_forceUpdate", []] call ace_common_fnc_localEvent;
|
||||
};
|
||||
|
||||
if( diag_tickTime > _forceUpdateTime || ((getPosASL _laserTarget) distance _pos) > 0.5) then {
|
||||
if( (str (getPosASL _laserTarget)) != str _pos) then {
|
||||
TRACE_1("LaserPos Update", "");
|
||||
_laserTarget setPosATL (ASLToATL _pos);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user