So I know I've posted about this a couple times but I'm not making any headway. My enemy character is either solid or not. Fair enough,. When they aren't solid they overlap and go right through the player. When the y are solid they run into each other and get stuck. I'm looking for some sort of algorithm I can use so that they will stop when they run into the player, won't overlap, and can move around each other. I've tried making them stop when they collide with each other and bump the other enemy out of the way, I've tried speeding them up on their path but they still either enter a traffic jam or fly across the screen. I'd post some code, but frankly, I don't have an ything that works well enough to post. I basically have some player characters and the enemy brains that float towards the other side of the screen.