playMaker

Author Topic: Get Animator Current State Info return previous state's Normalized Time.  (Read 994 times)

Softme

  • Playmaker Newbie
  • *
  • Posts: 11
I use Get Animator Current State Info to store normalized time, and trigger animation finsished event when the value reach 1.
But it return previous state's normalized time in the first frame during executing this action, and return 0 in the next frame.
The Animator Play action is in the same state.
Considering there is the action Get Animator Current StateInfo Is Name can fix this problem, I'm not sure if this is a bug.

djaydino

  • Administrator
  • Hero Member
  • *****
  • Posts: 7615
    • jinxtergames
Hi.
I made a custom version of Animator Play with a 'Wait for end of clip' (attachment below)
Let me know if this works for you :)

Softme

  • Playmaker Newbie
  • *
  • Posts: 11
Awesome, it works fine for me. Thanks !!!