I'm looking for a way to hide objects dynamically in the viewport using an object. For example, every objects touching or inside a given object would be hidden, and every other objects would be visible. Hiding vertices dynamically is possible but does not give the result i'm looking for. In the second image you can see that the red spheres touching or inside the wireframe cube are hidden, that's what i would like to do.
Any idea ?
Thank you for your time !