Replies: 2 comments 7 replies
-
Btw, the changes to |
Beta Was this translation helpful? Give feedback.
-
Hmm, any idea how much bigger? One minor thing: I generally convert |
Beta Was this translation helpful? Give feedback.
-
I'm trying to optimize the collider by adding a finer collision detection at the end to check, e.g., edge-face collision instead of just relying on the bounding box. With a very simple implementation, there seems to be decent speed improvement (30% overall? From 26618ms to 17685ms) because this eliminates most of the false collision pairs, but there is a failing case with non-manifold result:
My patch (mainly for debugging now):
Error case:
And I verified that there are some edge-face pairs printed that has to go into the collision result, but I am not sure why their distance is larger than 2*precisioon.
@elalish any idea?
Beta Was this translation helpful? Give feedback.
All reactions