Collision filter

Hello all,
is it possible in IsaacSim to group prims in collision groups so that collision would be disabled for every prim that is in the same group. this is for example possible in Isaac Gym.
ex: the following objects do overlap on some areas, but do to the collision group tjey don’t collide with each other but still can collide other objects, like robots…

Hello! Yes it is possible to create collision groups and filter between them.
Here’s how: Rigid-Body Simulation — Omniverse Create documentation

is there way to assign those filter groups throw python code? the only way described in the documentation is throw the GUI which I do not use.

Hi @tareq.khouja,

If you’re using the gym cloner, you can use the filter_collisions API documented here:
https://docs.omniverse.nvidia.com/py/isaacsim/source/extensions/omni.isaac.cloner/docs/index.html#omni.isaac.cloner.cloner.Cloner.filter_collisions

This is the default behavior in the OmniIsaacGymEnvs examples when cloning environments:

This is all implemented using USD python APIs on top of the USD Physics Schema. If you’d like to do something similar yourself without using the cloner APIs, I’d recommend reviewing the code in the cloner that applies the collision filtering. If you navigate to the Isaac Sim Package Path you can find the code the cloner filtering API uses for this in exts/omni.isaac.cloner/omni/isaac/cloner/cloner.py

Take care,
-Gav