How can you trap an object inside a box collision but player can walk through and in it?

The wall does not block objects simulating physics. Set the preset to custom, compare to the screenshot I posted.