Call of Duty 4: Scripting Reference - Animation::GetAngleDelta

From COD Modding & Mapping Wiki
Share/Save/Bookmark
Jump to: navigation, search


GetAngleDelta( <anim>, <start time>, <end time> )

Module: Animation

Summary:

Returns the rotation difference in the given animation


Call this on:

Example:


Required arguments:

  1. <anim> An animation


Optional arguments:

  1. <start time> The start time as a fraction of the total animation time, from 0 to 1
  2. <end time> The end time as a fraction of the total animation time, from 0 to 1


Notes:

none