How do I make a cube's collision work inside out

The negative scale thing didn’t work for me until I edited the mesh in modeling mode and baked the negative scale, then the inverted collisions worked as intended