2D Character Controller
I'm trying to make a play. The closest analogue of the RTS. I have units. I try to make them move and interact with the environment. If I use RB + Collider, the units are pushing each other and enemies in a collision in the melee. Can I somehow disable this interaction? If I make them move with the character controller, the mobs pass through static 2D Collider (walls). Only 3D Collider stop them. Besides using
hit = Physics2D.CircleCastAll (this.transform.position, 10f, new Vector2 (0, 0));
I can not see the other character controller that would make the choice of targets, as well as with the help of
hit = Physics.SphereCastAll (this.transform.position, 10f, new Vector3 (0, 0,0));
What can you do in this situation? Maybe somewhere there is a character controller which normally interacts with 2D Collider?
Your answer
Follow this Question
Related Questions
clicks pass through UI elements on android 1 Answer
OnTriggerEnter2D called without collision 0 Answers
Unity 2D Lighting 0 Answers
How to create a "trap" when ground is tiled with collider. 0 Answers
How to change Sprite Image when it reaches 90 degrees? 0 Answers