Skip to content

What is the difference between GeometryObject's disableCollision and activeCollisionPair? #2239

Answered by lmontaut
joao-pm-santos96 asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @joao-pm-santos96,
Depending on the state of your system, you might want to dynamically deactivate a certain collision pair (for that you can use geom_data.deactivateCollisionPair).
The disableCollision flag allows you to do that for all collision pairs involving a specific object, so you don't have to manually check in which collision pairs this object is involved.

Simple example: there is a wall in a scene; at some point in your simulation, the wall disappears (door opening, for example).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by lmontaut
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