Closed mehdi-benallegue closed 1 year ago
The unit test does not pass because we need to update the test in the submodule of shared tests (merge this PR https://github.com/jrl-umi3218/sch-shared-tests/pull/8)
It was a draft because the tests were not supposed to pass yet.
This PR changes the behavior of CD_Pair::getClosestPoints, in order to provide a default value of the witness points in case of collision when the penetration depth computation is disabled.
The new behavior will provide the last computed support points that were computed before the collision was detected. It should provide a better direction to separate the objects than a random set of points.