mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Uniformize interaction distance for vehicle. Distance is now aprox 4m from the bounding box of the vehicle, consistent with interaction with people.
This commit is contained in:
@ -90,9 +90,8 @@ if (_activeActionTree isEqualTo []) exitWith {false};
|
||||
|
||||
BEGIN_COUNTER(fnc_renderMenus);
|
||||
|
||||
// IGNORE_PRIVATE_WARNING(_cameraPosASL,_cameraDir);
|
||||
if (count _pos > 2) then {
|
||||
_sPos pushBack (((AGLtoASL _pos) vectorDiff _cameraPosASL) vectorDotProduct _cameraDir);
|
||||
_sPos pushBack (((AGLtoASL _pos) vectorDiff GVAR(cameraPosASL)) vectorDotProduct GVAR(cameraDir));
|
||||
} else {
|
||||
_sPos pushBack 0;
|
||||
};
|
||||
|
Reference in New Issue
Block a user