playMaker

Author Topic: Play Cross Fade Queued Animation action always fire finish event at first frame  (Read 2614 times)

7ujian

  • Playmaker Newbie
  • *
  • Posts: 1
Hi,

When Animation.CrossFadeQueued is call, it returns an cloned AnimationState while the "anim" member holds the original one.

Thus in OnUpdate, the anim.enabled is always false and the finish event is fired instantly.

It causes problem when I want to know when the animation is finished.

BTW, the cloned AnimationState will be destroyed after animation finished (cloneAnim == null) automatically.

Thanks for the great tool.

Jian

jeanfabre

  • Administrator
  • Hero Member
  • *****
  • Posts: 15500
  • Official Playmaker Support
Hi,

 Where did you get this action?

bye,

 Jean