<aside> ⚡ script "core_GetPtrPitch" (int ptr, int tid, int fixed)
</aside>
This script can be used to get the pitch of a TID or any of its actor pointers, either as a degree or a fixed point angle.
ptr
: int - The actor pointer to grab the pitch of. Use AAPTR_DEFAULT
to specify the TID itself.tid
: int - The TID to use for getting the pitch. Use 0 to mean the calling actor.fixed
: bool - If true, returns the pitch as a fixed point angle instead of degree.Returns the pitch as the specified type.