Is there a simple way to stop enemies standing in the same spot?

Posted by Iain on Game Development See other posts from Game Development or by Iain
Published on 2010-08-10T11:59:18Z Indexed on 2013/11/12 4:21 UTC
Read the original article Hit count: 294

Filed under:
|

So: top-down game, my enemies chase the player, when they get within a certain distance they stand still and fire. If they're all coming from the same direction they all end up standing in the same spot (i.e. standing "within" each other), as I'm not currently doing collision detection between enemies - they are free to pass over each other.

What's a simple way around this? Either some form of collision detection or some ai?

© Game Development or respective owner

Related posts about ai

Related posts about collision-detection