Getangle: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 4: | Line 4: | ||
NOTE: To make one actor face another some subtraction is involved. see [[make one actor face another]] in the examples. | NOTE: To make one actor face another some subtraction is involved. see [[make one actor face another]] in the examples. | ||
[[Category:EDuke32 specific commands]] | |||
[[Category:Gamevar manipulation]] |
Revision as of 18:35, 24 September 2005
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.