mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Switch back to modelToWorldVisual. Perf is about the same and it moves smoothly with the model.
This commit is contained in:
parent
b358c4a8af
commit
1b912cdca0
@ -75,7 +75,7 @@ _fnc_parameters = {
|
||||
};
|
||||
|
||||
private _parameters = [_this, _fnc_parameters, _target, QGVAR(drawParameters), 0.1] call EFUNC(common,cachedCall);
|
||||
_parameters set [2, _target modelToWorldVisual ((_target selectionPosition "pilot") vectorAdd [0,0,(_heightOffset + .3)])];
|
||||
|
||||
_parameters set [2, (ASLtoAGL eyePos _target) vectorAdd [0,0,_heightOffset + .3]];
|
||||
|
||||
drawIcon3D _parameters;
|
||||
|
Loading…
Reference in New Issue
Block a user