|
I am having an issue with the enemies in my game. They stack on top of each other when they collide and I have tried different tactics tat logically would keep them separated when they collided. For the enemies I am using rigid body and I am treating them as var transfor. For collision we are using colliders.
(comments are locked)
|

I think you are going to have to describe a whole lot more details than you have currently provided. Are they rigid body based or are you moving manually? Are you using colliders and triggers?
I updated it with the newest details. Hope this helps
Are they using capsule colliders? The rounded bottoms will naturally "climb" small objects, which is what you want -- until they start climbing other enemies.
As a test, make them a lot taller. In practice, the problem stops for me when the code improves. At some point you'll say "if I ram a guy, stop grinding into him, and try to go around."
Are the enemies defined as kinematic in their Rigidbody definitions?