Hello,
I learn programming with Unity and I have some problem.
As u can see I have a rigidbody 2d and a box Collider on my player and a Tilemap collider on my Tilemap
.I can walk on the Tilemap but … for some reason I can also go through them.
can anyone help please?,
hello,
I learn Programming with Unity and I got a problem. As u can see on the photos I have a box collider 2d and a rigidbody 2d on my Player and also on my tilemap is a box collider I can walk on it but … i can also go through them can anyone help please?
You attached 2 screenshots that show only the player on the inspector, could you attach one with tilemap collider? I can see that you have 2 tilemaps, are you sure that walls have collider in them just like the ground? Perhaps you painted tiles on tilemap without collider (it happened to me couple of times).