Getangle

From EDukeWiki
Revision as of 18:08, 30 August 2005 by Plugwash (talk | contribs)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

getangle <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.