ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


lookat

This is an old revision of the document!


LookAt

void LookAtPoint(int tid, fixed x, fixed y, fixed z)

Rotates the actor so that it's looking at the point. Takes the actor's ViewHeight into account.


void LookAt(int tid, int target_tid)

Rotates the actor so that it's looking at another actor. Takes into account both actors' ViewHeights to make the actor look at the other actor's head or center.

lookat.1515367379.txt.gz · Last modified: 2018/01/08 01:22 by korshun