-
Notifications
You must be signed in to change notification settings - Fork 287
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
FCLCollisionDetector does nothing when maxNumContacts == 0 #701
Comments
I would prefer printing a warning. If CollisionDetector::collide(~) returns true for binary check when Also, |
I actually consider removing |
That is correct. In a binary check you typically don't want to spend time computing the contact point and normal for any contacts (not even one). It is sufficient to know whether contact occurred and, (in some cases) which pair of In my opinion, the correct fix is what we discussed in #716: decouple the concept of a "collision between two |
We wouldn't need to worry about this case since
Yeah, I'm on board with your opinion. I'd save for this for next the release though. |
What is the meaning of |
|
I think this is mostly a naming issue - we use "contact" to refer to both the pairwise collision of two The ideal solution would be to separate the concepts as we discussed in #716. Until then, perhaps we can eliminate some confusion by renaming |
They will be left as the default values as assigned when Renaming sounds good. Do you have a suggestion? I would prefer to rename |
I am using
FCLCollisionDetector
to perform a binary check. I setmaxNumContacts = 0
, sinceenableContact = false
means that I am not computing any contacts. Surprisingly, this causes the collision detector to always returnfalse
.I think we should either change this behavior or print a warning when
maxNumContacts == 0
.The text was updated successfully, but these errors were encountered: