Hey,
is there an easy way to play an predefined .anim file in the inverse direction from last to first frame?
Hey,
is there an easy way to play an predefined .anim file in the inverse direction from last to first frame?
reverse the speed of it setting it to -1 and set the time to the length of your clip to start from the end.
look here for more info
http://unity3d.com/support/documentation/ScriptReference/AnimationState.html
thanks
but:
length get you the total animation length in second that you can use to set “time” not length