mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Repair - Improve wheel detection for RHS (#3760)
* Repair - Improve backup wheel detection Fix #3759 * Cleanup
This commit is contained in:
parent
dbe70a7094
commit
2a5ec42148
@ -70,6 +70,8 @@ _wheelHitPointSelections = [];
|
||||
_bestIndex = -1;
|
||||
{
|
||||
if (_x != "") then {
|
||||
//Filter out things that definitly aren't wheeels (#3759)
|
||||
if ((toLower (_hitPoints select _forEachIndex)) in ["hitengine", "hitfuel", "hitbody"]) exitWith {TRACE_1("filter",_x)};
|
||||
_xPos = _vehicle selectionPosition _x;
|
||||
if (_xPos isEqualTo [0,0,0]) exitWith {};
|
||||
_xDist = _wheelCenterPos distance _xPos;
|
||||
|
Loading…
Reference in New Issue
Block a user