Skip to content

Filter for sub shapes #167

Answered by jrouwe
DocAce asked this question in Q&A
May 19, 2022 · 1 comments · 2 replies
Discussion options

You must be logged in to vote

NarrowPhaseQuery::CastShape / TransformedShape::CastShape already offers the interface to pass a ShapeFilter class to do what you're asking for. I didn't need a shape filter on CastRay/CollidePoint/CollideShape so I never implemented it. I added it for CastRay as well now in #168. Try it out.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@DocAce
Comment options

@jrouwe
Comment options

Answer selected by DocAce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants