This site requires JavaScript, please enable it in your browser!
Greenfoot back
nathen
nathen wrote ...

2016/11/15

what would i do to get enemies to not collide with each other?

nathen nathen

2016/11/15

#
things tend to mess up when my enemy's cross paths
Super_Hippo Super_Hippo

2016/11/15

#
Maybe something like:
//moving
if (isTouching(Enemy.class))
{
    //moving back
    //maybe turning a little bit
}
You need to login to post a reply.