ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools



This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
functions:vectortoangles [2017/03/17 18:09]
korshun created
functions:vectortoangles [2019/04/20 23:56] (current)
korshun created
Line 16: Line 16:
 int angle = r1; int angle = r1;
 int pitch = r2; int pitch = r2;
 SetActorAngle(tid, angle); SetActorAngle(tid, angle);
 SetActorPitch(tid, -pitch); // Note that actor pitch is inverted in ZDoom. SetActorPitch(tid, -pitch); // Note that actor pitch is inverted in ZDoom.
 </code> </code>
-<note tip>Use ''[[functions:zdoom#lookatpoint|LookAtPoint]]'' instead of the example code above.</note>+<note tip>Use [[LookAtPoint]] instead of the example code above.</note>
functions/vectortoangles.1489766977.txt.gz ยท Last modified: 2017/03/17 18:09 by korshun