Getangle

From EDukeWiki
Revision as of 15:50, 7 March 2008 by 91.122.8.158 (talk)
Jump to navigation Jump to search

getangle <return> <x> <y>

Get's the angle formed by the displacements <x> and <y>. In most languages this function is known as arctan2.

NOTE: To make one actor face another some subtraction is involved. see make one actor face another in the examples.