FindDirection
FindDirection

Returns the animation closest to the given direction.

AnimationObject = myAnimationGroup.FindDirection( Angle )

Return value
The animation object closest to the desired direction

Parameters
  • Angle
    The angle (in degrees) to look for
Comments

This function accounts for direction wrapping at 360 degrees automatically, so will always return the best match.

See also
AnimationGroup:NewDirection



JAM © 2005 no one in particular
Project started by David Evans in 2005