This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
functions:vectortoangles [2017/03/17 18:09] – created korshun | functions:vectortoangles [2017/03/17 18:12] – korshun | ||
---|---|---|---|
Line 16: | Line 16: | ||
int angle = r1; | int angle = r1; | ||
int pitch = r2; | int pitch = r2; | ||
+ | |||
SetActorAngle(tid, | SetActorAngle(tid, | ||
SetActorPitch(tid, | SetActorPitch(tid, | ||
</ | </ | ||
- | <note tip> | + | <note tip>Use [[LookAtPoint]] instead of the example code above.</ |