Hi, my issue is bit hard to explain so I explain it in scenario..
So, I have top-down game, there's 3 store house, I have separated each floor to separate set of layers... walls and some objects are solid and blocks movement.
I have made that when Player walk upstairs, I make that level visible and hide it when going downstairs. Now, I have issue with collisions with solid objects, downstairs walls still blocks player when upstairs.
I know I could only enable solids of floor that player is in, but when I start implementing enemies, they still need those walls and objects be blocking in downstairs even if player is upstairs.
so, if I think player and enemies as entities. I need solid collision apply only to entities that are in same level.