11.06.2012, 04:59
Hey,
I couldn't find anything on the topic, been searching for a while now and it's probably all over the forums. At least I am sure people have made it before but could someone show me a snippet which calculates the facing angle for Player 2 to face Player 1? That'd be awesome.
If you're at it already I wouldn't mind you explaining the math behind it in a understandable fashion but its not mandatory. Though if I grasped my head around it next time I wouldn't have to ask again haha.
Regards.
I couldn't find anything on the topic, been searching for a while now and it's probably all over the forums. At least I am sure people have made it before but could someone show me a snippet which calculates the facing angle for Player 2 to face Player 1? That'd be awesome.
If you're at it already I wouldn't mind you explaining the math behind it in a understandable fashion but its not mandatory. Though if I grasped my head around it next time I wouldn't have to ask again haha.
Regards.