Hi guys! How could I make a 2d ground that simulates depth, in terms of colliders? I tried having several long and thing rectangular colliders instead of one large one and neither approach worked. I would like enemies to approach the house from the left in several rows. If I use one big box collider the monsters are just pushed to the top and then walk on top of the rectangle. If I use several, they do generally walk in different “lanes” but I have several other problems, for example it won’t detect any mouse clicks 50% of the time.
One thing I thought about was just to turn off Unity’s gravity and simulate gravity myself only when characters get off the ground, thus eliminating the need for a ground collider, but I would prefer to do this another way since characters being off the ground is an integral part of the gameplay.
Thanks a lot!