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

Can it be use as collision detection tool for different meshes? #12

Open
xiaobaozi1996 opened this issue Aug 24, 2019 · 2 comments
Open

Comments

@xiaobaozi1996
Copy link

I notice the description says it can be for self-intersections, but if it can deal with more than one mesh. If not, do you have some ideas to solve it? Thanks~

@xiaobaozi1996 xiaobaozi1996 changed the title Can it be use as collision detection tool for two meshes? Can it be use as collision detection tool for different meshes? Aug 24, 2019
@dimtzionas
Copy link
Collaborator

The read_me mentions that:

"The module can be used also for inter-penetrations of different meshes - for this the easiest and naive approach (without additional bookkeeping) is to fuse all meshes in a single mesh and treat inter-penetrations as self-penetrations."

In case you need to do this without fusing all meshes in a single one, you will need to modify the code on your own. You will need to do some additional book-keeping to identify to which mesh each colliding triangle belongs to. We are afraid that at the moment, due to time constraints, we do not plan to add or support this feature.

@xiaobaozi1996
Copy link
Author

"You will need to do some additional book-keeping to identify to which mesh each colliding triangle belongs to. ", Is this means to just correct the mesh contains the colliding triangle? I'm not very familiar with the collision. But I think this module is very useful to deal with inter-penetrations of different meshes.Could you please give me more detail advice about it? Thanks~ @dimtziwnas

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

2 participants