mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Increase the tolerance to 2m
This commit is contained in:
parent
7a606a2352
commit
53ce7d0be4
@ -29,9 +29,9 @@ _fnc_renderNearbyActions = {
|
||||
{
|
||||
_target = _x;
|
||||
|
||||
// Quick oclussion test. Exit for object more than 1 m behind the camera plane
|
||||
// Quick oclussion test. Exit for object more than 2 m behind the camera plane
|
||||
_lambda = ((getPosASL _x) vectorDiff _cameraPos) vectorDotProduct _cameraDir;
|
||||
if (_lambda < -1) exitWith {};
|
||||
if (_lambda < -2) exitWith {};
|
||||
|
||||
_numInteractions = 0;
|
||||
// Prevent interacting with yourself or your own vehicle
|
||||
|
@ -9,4 +9,6 @@
|
||||
#define DEBUG_SETTINGS DEBUG_SETTINGS_INTERACT_MENU
|
||||
#endif
|
||||
|
||||
#include "\z\ace\addons\main\script_macros.hpp"
|
||||
#include "\z\ace\addons\main\script_macros.hpp"
|
||||
|
||||
#define ENABLE_PERFORMANCE_COUNTERS
|
||||
|
Loading…
Reference in New Issue
Block a user