Hi All-
I am trying to determine whether on not mesh facets intersect. I have extracted the facet data and tried to check if the segments intersect. (I already know that the facets are in the same plane)
I tried to check for intersection by creating a ray and testing it to see if it intersects a segment specified by 2 points:
If my understanding of the documentation is correct (and it probably isn’t)
BABYLON.Ray.CreateNewFromTo(p0,p1).intersectionSegment(p2,p3,100));
should return zero and it does not.
Any thoughts? Any ideas of alternate strategies?
Thanks and best to all!
Flex