How do you go about at acquiring the current frame being played? Here is my problem :
I am using frames for the tongue bit going in a curve, and the handle animation. When you press UP or DOWN, the animation plays, then you don't press anything it stops. For the tongue curve part, I simply do Anim.Pause(); And when you press a key it does Anim.Play("TongueCircleUp") or Anim.Play("TongueCircleDown").
When you use Play() it restarts to the first frame. So in my case, the best thing would be to use PlayFromFrame (int frame) So that there is no animation skip. But I am not certain how to acquire the frame that is currently being played.
Is there a function to acquire that data? It would be highly useful.
Also, is there a way to make the animation play until the last frame in the clip? Say, Play the animation once, then stop. This is mainly due for the handle animation, since the little guy jumps, it looks odd with him in mid-air. I guess if I could acquire the frames playing, I could do play until last frame then pause(); Two birds, one stone deal?
Thanks in advance.