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

Panic with continuous collision detection with HeightMap in time_of_impact #324

Open
e00E opened this issue Mar 15, 2020 · 0 comments
Open

Comments

@e00E
Copy link

e00E commented Mar 15, 2020

https://github.com/rustsim/ncollide/blob/a834dfd986a48f0c5bb27745a60e1c08e70e993d/src/query/time_of_impact/time_of_impact.rs#L150
This is triggered in nphysics by having a height map collider and for example a ball on which ccd is enabled.
From an api perspective it is weird that the function would panic instead of returning an error if the case cannot be handled.
This is probably known to the author seeing as ccd is supported for TriMesh through as_support_map and that a similar implementation was started for height map but commented out. Having the issue it might help other users.

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