Closed RossNordby closed 3 years ago
See https://github.com/bepu/bepuphysics1/discussions/12 for initial report.
The interval test for edge-edge does not check the axis for degeneracy before the test. This can make the result of the interval test a numerical coinflip and prone to incorrect results.
Affects all variants of the BoxBoxCollider tests, apparently.
Workaround, from discussion:
A quick workaround would be to replace the BoxBox handler in the NarrowPhaseHelper. Change https://github.com/bepu/bepuphysics1/blob/master/BEPUphysics/NarrowPhaseSystems/NarrowPhaseHelper.cs#L20 and https://github.com/bepu/bepuphysics1/blob/master/BEPUphysics/NarrowPhaseSystems/NarrowPhaseHelper.cs#L155 to use GeneralConvexPairHandler rather than BoxPairHandler.
BoxBox
NarrowPhaseHelper
GeneralConvexPairHandler
BoxPairHandler
Should be resolved by #16.
See https://github.com/bepu/bepuphysics1/discussions/12 for initial report.
The interval test for edge-edge does not check the axis for degeneracy before the test. This can make the result of the interval test a numerical coinflip and prone to incorrect results.
Affects all variants of the BoxBoxCollider tests, apparently.
Workaround, from discussion: