This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| lookat [2018/01/07 23:17] – created korshun | lookat [2018/01/07 23:23] (current) – korshun | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ====== LookAt ====== | ====== LookAt ====== | ||
| - | | + | |
| void LookAtPoint(int tid, fixed x, fixed y, fixed z) | void LookAtPoint(int tid, fixed x, fixed y, fixed z) | ||
| + | |||
| + | Rotates the actor so that it's looking at the point. Takes the actor' | ||
| + | |||
| + | -------- | ||
| + | |||
| + | void LookAt(int tid, int target_tid) | ||
| | | ||
| - | Rotates the actor so that it's looking at another actor or a point. | + | Rotates the actor so that it's looking at another actor. Takes into account both actors' |
| + | | ||