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

test whether a point is inside a CollisionShape #11

Open
stephengold opened this issue Oct 20, 2021 · 0 comments
Open

test whether a point is inside a CollisionShape #11

stephengold opened this issue Oct 20, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@stephengold
Copy link
Owner

It would be nice to expose isInside() in the Java API, but first I'd need to implement it in C++ for all collision shapes. Although it's declared as part of btPolyhedralConvexShape,isInside() isn't yet implemented for btConvexHullShape or btBU_Simplex1to4.

For inexact shapes, the Java version should automatically take the shape's margin into account.

@stephengold stephengold added the enhancement New feature or request label Oct 20, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant