playMaker

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

7ujian

  • Playmaker Newbie
  • *
  • Posts: 1
    • View Profile
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: 12351
  • Official Playmaker Support
    • View Profile
Hi,

 Where did you get this action?

bye,

 Jean