- Home /
Clipping when going from one composite collider2d to another
Hi,
I have a game, where I use multiple tilemaps with composite colliders, to be able to distinguish between those. Problem is, sometimes, when I try to walk over a composite collider of another tilemap, I get stuck at that area. Here is something I drew, so you can better understand my problem:
Making my collider rounded won't work because my player would jump at that clipping point, because my player is physics based. I also tried to make a parent of my tilemaps, to make all of my tilemaps into one whole collider, but then the problem is, that I can't distinguish which tilemap was hit. I need to know which one of those tilemaps were hit in the OnCollisionStay/Enter etc. methods. How would I fix this problem? Any help is greatly appreciated :)
Your answer
Follow this Question
Related Questions
Player registering collisions where there are none 0 Answers
How to detect which side of my player has collided? 2 Answers
Collision Detection Issue – Player in the corners 1 Answer
collisions will sometimes be detected and sometimes will not 1 Answer
Unity2D: How to make my player not walk through walls? 1 Answer