Hi,
I am currently working on a 2D Top Down shooter and I am having a problem with wall colliders.
I am using Tilemaps to create rooms and I have a collider Tilemap for the walls. Then, I have added a collider to the Feet of the player and it works fine. However, it is time to throw projectiles and I would want to use this same Wall Tilemap collider to destroy the projectiles, and I currently have an issue when the player is just below the top wall of the room. As you can see in the screenshot below, since the upper body of the player is on top of the wall, when I throw the projectile (bone) it is on top of the wall and it gets destroyed automatically.
Is there a way to implement this without having to add more complexity? Almost all 2D top down games have this issue solved, so I suspect there is an easy way to solve it without having to add more collider layers.
Thank you very much!
Albert