Enemies that swarm the player..

toastyteetoastytee Member Posts: 53
edited February 2012 in Working with GS (Mac)
I'm trying to make a top down shooter and I am having trouble getting the enemies to "swarm" or move towards the player. This is what i did: In the player actor I constrained two global attributes (player x and player y) to the players x and y position. Then in the enemy actor I told it to "move to position player x and player y". It kinda works except I have a crate that both the player and the enemy are set to collide with, and when the enemy collides with a crate it seems to stop following the player and drift off, until i move the player again. Then it follows again. How can i make it stop doing that?
Sign In or Register to comment.