Skip to content

Flags on shape ? #1598

Answered by jrouwe
Snouf-ID asked this question in Q&A
Discussion options

You must be logged in to vote

This is possible with Jolt by using the ShapeFilter class and the SimShapeFilter class.

Example using ShapeFilter to ignore certain shapes during collision tests:

https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/General/ShapeFilterTest.cpp

Example using SimShapeFilter to ignore certain shapes during simulation:

https://github.com/jrouwe/JoltPhysics/blob/master/Samples/Tests/General/SimShapeFilterTest.cpp

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by Snouf-ID
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
Converted from issue

This discussion was converted from issue #1597 on April 10, 2025 19:22.