<aside> ⚡ script "core_SetVelPitch" (int tid1, int tid2)
</aside>
Calculates the pitch tid2
is moving on, and applies it to the pitch of tid1
.
<aside> 💡 Generally, this script is most useful for setting the pitch of a projectile based off of its own velocity by using 0 for both parameters.
</aside>
tid1
: int - The TID of actor to apply the calculated pitch to.tid2
: int - The TID of the actor whose velocity the pitch is calculated from.