This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| functions:vectortoangles [2017/03/17 16:09] – created korshun | functions:vectortoangles [2019/04/20 20:56] (current) – created 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.</ |