Getangle - EDukeWiki

# Getangle

From EDukeWiki

getangle <return> <x> <y>

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

Retrieved from "http://wiki.eduke32.com/w/index.php?title=Getangle&oldid=10197"
Categories:

- EDuke32 specific commands
- Gamevar manipulation