Rotate to actor behavour..

dimokdimok Member Posts: 16
edited November -1 in Working with GS (Mac)
Hi! I am making a platform game that has a view from top. Theres the player and the enemies that mpove towards the player and attack him. The game is like a Gladiator Arena. But there is one small issue - when the enemies move towards the player they keep their initial facing angle constant and it therefore looks awkward that at times it moves sideways and backwards towards the player. To fix this I had to work out some geometrial math to tell the enemies to always face the player. For younger users of GS iw would be quite challenging to do and I thought that it would be great to have a new behavour that will do all the calculations and make an actor to point (face) a specific direction or a specific coordinate. Then it could be set that the coordinates equal the plaeyer coordinates or another enemy coordinate.
That feature definitely would be very useful and expand the frames of GS.:)
If that is possible, please make such behavour!)
Thanks in advance.
-Dmitry :)
Sign In or Register to comment.