GetActorPitch

From ZDoom Wiki

Jump to: navigation, search

int GetActorPitch (int tid)

Usage

Returns the actor's pitch.

Parameters

  • tid
TID of the actor. Passing 0 will get the activator's pitch.

Return value

The actor's pitch is a fixed point angle. In ZDoom, this value is bounded by -0.0888977 and 0.155548 (-5825 and 10194 as ints). Note that looking up produces a negative value and looking down produces a positive value. 0 is looking straight ahead.

Examples

Image:Nuvolachalk.png Note: This article lists no examples. If you make use of this feature in your own project(s) or know of any basic examples that could be shared, please add them. This will make it easier to understand for future authors seeking assistance. Your contibutions are greatly appreciated.
Personal tools