Rotate hero actor to face closest enemy
Maiketh
Member Posts: 1
Hi all,
i am reasonably new to Gamesalad. I am working on a game that I would like the actor to face the closest enemy. What is the best way to go about this?
Comments
To do this you'd need to track all the enemies positions on the scene. Which means each would need their own game level attributes storing their X and Y positions. If you have lots of enemies this can be an issue. It's always good to start with simpler concepts when learning gamesalad. Have you done any of the tutorials on the academy?
Guru Video Channel | Lost Oasis Games | FRYING BACON STUDIOS