Hi all,
Unity version: 2020.3.4f1 Personal
I set up Rigidbody 2D and Box Collider 2D for the player, however, it can still walk through the “wall” that has both components.
Actually the colliders of all objects in the game aren’t working. May I ask what’s wrong?
Screenshots:
The Player can go through the “wall”; both the player and the wall are on “Sorting layer 04”, “order in layer: 3”; Position Z:0
Inspector info of the player:
I supposed it isn’t necessary to add any code or script to activate the colliders?
Thanks and have a great weekend!

