ACSUtils Wiki

An ACS library for ZDoom-based ports

User Tools

Site Tools


lookat

Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
lookat [2018/01/08 01:22] korshunlookat [2018/01/08 01:23] (current) korshun
Line 9: Line 9:
   void LookAt(int tid, int target_tid)   void LookAt(int tid, int target_tid)
      
-Rotates the actor so that it's looking at another actor. Takes into account both actors' [[zdoom>GetActorViewHeight|ViewHeights]] to make the actor look at the other actor's head or center.+Rotates the actor so that it's looking at another actor. Takes into account both actors' [[zdoom>GetActorViewHeight|ViewHeights]] to make the actor look at the other actor's head, if the target actor has a CameraHeight, or center, if it doesn't.
  
      
lookat.1515367379.txt.gz · Last modified: 2018/01/08 01:22 by korshun