ClearAnim( <animation>, <time> )


Module: Animation
SP Only

Summary:

Sets an animation's goal weight (and the goal weights of all of its descendents) to zero over the specified time.



Call this on:

<entity> The entity to clear the animation on.



Example:

self ClearAnim( %root, 0);



Required Args:

  • 1 : <animation> The animation or animtree node to clear
  • 2 : <time> The blending time for the clear