-
Notifications
You must be signed in to change notification settings - Fork 96
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
Wrong Collision Result between complicated mesh and sphere #440
Comments
At first glance, it might be a problem of normal orientation in the case of BVHs. |
Hi @chenyanzz,
|
@lmontaut |
Hi @chenyanzz, apologies for the late reply.
I get the following output:
I am also on macos 13.4.1. I ran your code using the latest I will have a look to fix the bug for the ball case. |
@lmontaut Any news on this issue? |
Version
Bug Description
Collision Object 1 is the mesh "model.stl" inside the zip
Collision Object 2 is a Sphere center at (-2, 3, 0), with a radius of 50
Actually the two models DOES have a small slice of space between them,
However, the
collide(obj1, obj2)
returns a wrong answer:result.isCollision() == True
.And it shows the collision point is (-30.44375973, -43.73033919, 1.37608287)
(It is hard to show that there isn't a collision in a non-convex model in one image, so you can test it in your methods)
I draw the situation on blender:
The yellow dot is the collision point hpp-fcl decleared to be. But it is outside the Sphere.
And, However, There is NOT a collison at all.
The blender project is "test.blend" in zip
Testing Env
"test.py" also in the zip file
Qs
Attachment ( zip file of everything )
hppfcl-bugreport.zip
The text was updated successfully, but these errors were encountered: