Skip to content
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

Best way to proximity check groups with filter #375

Open
ernstluring opened this issue Mar 11, 2021 · 0 comments
Open

Best way to proximity check groups with filter #375

ernstluring opened this issue Mar 11, 2021 · 0 comments

Comments

@ernstluring
Copy link

We have the specific case that we want to collision check groups of objects (cubes, cylinders and meshes) with other groups of objects with the possibility to ignore the collision of specific objects. We want to perform 1000's of queries with dynamic objects at different locations (objects are moving around). We only want proximity's and which objects are colliding, not any contact points etc. We tried the following two things:

  1. Using the CollisionWorld. But the event system was not flexible enough for our use case. We also want to know if a repeated collision happened.

  2. Creating our own Compound implementation of the group of objects and the corresponding proximity and proximity detectors. And passing a filter function with them. This resulted in a problem with testing out Trimeshes. Because Compound shapes in Compound shapes are not supported, the algorithm became very slow.

What would be the best approach to tackle this problem? Is ncollide the right library for us, or would parry solve this problem better?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant