Skip to content

Conversation

@hongkai-dai
Copy link

In ccdVec3PointTriDist2, instead of checking if the triangle area is less than epsilon, we use the ratio (which measures the sine angle) less than epsilon to determine if the triangle area can be used as a denominator. This avoids the problem when CCD incorrectly doesn't trust the projection onto the interior of the triangle, and instead project to the edges of the triangle, causing bad witness point.

In ccdVec3PointTriDist2, instead of checking if the triangle area is less than epsilon, we use the ratio (which measures the sine angle) less than epsilon to determine if the triangle area can be used as a denominator. This avoids the problem when CCD incorrectly doesn't trust the projection onto the interior of the triangle, and instead project to the edges of the triangle, causing bad witness point.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant