Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Repair - Improve wheel detection for RHS #3760

Merged
merged 2 commits into from
May 7, 2016
Merged

Repair - Improve wheel detection for RHS #3760

merged 2 commits into from
May 7, 2016

Conversation

PabstMirror
Copy link
Contributor

When merged this pull request will:

The backup wheel detection just tries to find the closest hitpoint to the wheel, and for one RHS vic the engine is close than the actual wheel hitpoint. This just adds a blacklist for the engine.

image

@PabstMirror PabstMirror added the kind/bug-fix Release Notes: **FIXED:** label May 5, 2016
@PabstMirror PabstMirror added this to the 3.6.0 milestone May 5, 2016
_xPos = _vehicle selectionPosition _x;
//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, 'HitPoints'];
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Single quotes?

@PabstMirror PabstMirror merged commit 2a5ec42 into master May 7, 2016
@PabstMirror PabstMirror deleted the rhsWheels branch May 7, 2016 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-fix Release Notes: **FIXED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Unable to replace front right tire on RHS M1025A2.
2 participants