-
-
Notifications
You must be signed in to change notification settings - Fork 101
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
EPA convergence failure on capsules #205
Comments
The gjk returns intersection, and then epa2 starts.
The problem could be related to the epa value and what it expects the improvement to be. Aside for the check: if max_dist - curr_dist < _eps_tol {
...
} There coudl be another check to see if any of the values changed, if not the algorithm is probably stuck and we should accept the intersection. The difference in this case is: While eps is: The problem occurs either because:
Another idea is to use either EPS based on values. Eg. check that the difference between the two is a percentage of total distance. |
Related to this(this is 3d related issue) #157 |
See the following PR for a code to reproduce the bug: dimforge/rapier#531
The text was updated successfully, but these errors were encountered: