- Joined
- Mar 7, 2009
- Messages
- 65
I'm trying to create different mini-game, and i can't find how to easily see if the enemy that is attacking you is attacking you in you'r back or in front of you (for example, to create a "backstab" ability, or a "parry attack in front of you" ability.)
I didn't find any easy way to do it, i tried to do maths between angle of each units but it's not a good idea.
Thanks.
I didn't find any easy way to do it, i tried to do maths between angle of each units but it's not a good idea.
Thanks.