Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix the close enough check in Repair.cs #13388
referenced this pull request
May 29, 2017
This reverts closeEnough for Aircraft back to WDist.Zero like was before #13358, so it will work.
In that PR we changed it for more actors. As far as I remember, I tested it for vehicle or mine layer (seems not aircraft?), but in case of closeEnough > 0, the IsInRange is still buggy, as it returns false, though actor is in center of target, can't it cause bugs in cases with closeEnough > 0?
Well, it can cause bugs, but I'm not aware of one at the moment. As stated above, the main failure here was the offset when landing the helicopters. Do you have an example for IsInRange failing when the actor is at the CenterPosition and closeEnough > 0 (or where do you think could it fail)?