!can someone PLEASE help! (enemy facing)
I have a player on-screen and i have an enemy spawner off screen, the spawner spawns enemies that move towards my player. But I want the enemies to FACE my player, and no matter what I do it doesn't work right e.g. they spin to certain position, they turn the way i turn. There doesn't seem to be a template that addresses this, so could someone please help?
Comments
create 2 game attributes:
X and Y
go to your on-screen player:
constrain attribute X to self.positionX
constrain attribute Y to self.positionY
In the enemy, use rotate to position select attributes X and Y and uncheck the "stops on destination" option.
That should work!
Giacomo
P.S. next time, try to use a more descriptive title!
If you want me to have a look at it just send it over: giacomopoppi@gmail.com
Giacomo