Hi
I have a box (without cover) and balls inside (with Physics behavior). Balls have boolean instance variable: InBox = true
I added an invisible sprite on the top of the box. When I rotate a box, balls fall out (on collision with sprite change boolean from true to false).
Problem:
I need to disable collisions of Instances (that have instance variable InBox=false) with object family.
I tried to do it using the Invert InBox condition and action: Disable Physics collision with Family, but it disables all collisions (not only for instances with InBox=false).
How to disable collisions only for instances with specific instance variables?
Thank you for any help.