-
Notifications
You must be signed in to change notification settings - Fork 407
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
Feeding a better initial penetration axis to GJK this improves performance #41
Conversation
Kudos, SonarCloud Quality Gate passed! |
Sorry for necroposting, but this change seems to cause this issue:
actual data from game mesh (triangle seems to be long, but not degenerate?):
Not sure how to better handle this. |
Hello, Is it just this assert that is triggering or is there an actual issue? What is the full call stack? Is this a heavily scaled MeshShape perhaps? In any case, the triangle is really really tiny (less than 1 mm^2), and it looks like it is barely bigger than the degenerate check that would have thrown the triangle away:
Are you able to clean up your mesh before providing it to Jolt? (it's just not a good idea to put triangles this small into the collision detection pipeline) |
No description provided.