Physics not applied even though collisions are triggered

So then your box has no shape?

How about you post the real code instead of the code that isn’t really real?