-
-
Notifications
You must be signed in to change notification settings - Fork 105
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
3D: ray casts which touch a TriMesh edge report intersection with a backface #335
Comments
clbarnes
changed the title
3D bug: ray casts which touch a TriMesh edge report intersection with a backface
3D: ray casts which touch a TriMesh edge report intersection with a backface
May 20, 2020
Yeah, launching multiple rays sounds like a safe alternative for the time being. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here's a repo demonstrating the issue: https://github.com/clbarnes/ncollide-issue-graze
Imagine Santa's sled knocking some snow off the top of a roof. It could be argued that no impact happened, or it could be argued that the impact happened with the edge. ncollide3d reports that Santa collided with the inside of the house.
This is important for using ray casting to determine whether a point is inside a mesh. As per #317, I am casting a ray and checking whether it intersected with a backface. In the motivating example, a point nowhere near the mesh happens to cast a ray which skims a ridge in the mesh: due to this issue, a backface intersection is reported.
The text was updated successfully, but these errors were encountered: