Open brandonrwin opened 2 weeks ago
What do you think of this, for a modified comment?
Edge and vertex hits will not be detected reliably. Edges can result in 0, 1, or 2 hits and vertices can result in 0 to n hits, where n is the number of triangles that share that vertex. Multiple rays, with slight offsets, can be used to help prevent the 0 hit case.
RayMeshIntersector.intersects_location() has the following comment:
I'm having trouble understanding this, but I think what it's trying to say to me doesn't go far enough.
There's three possibilities for a ray hitting a "sane" mesh:
So, my questions are:
For embree's handling of edge and vertex hits, a develop said:
For context, I'm making a, probably futile, attempt to quickly use this in a real world scenario, where a ray passing through without detection means real world things get smashed. 😅