This should be a simple question:
How can I figure out when an animation has completed playing?
Here is a general snippet of how I am loading the animations:
//loading of a AWD file into the AssetLibrary
skeleton = AssetLibrary.getAsset(BONE_LeftArmBone) as Skeleton;
mesh = Mesh(AssetLibrary.getAsset(ASSET_LeftArmMesh));
animationSet = new SkeletonAnimationSet(2);
animationSet.addAnimation(AssetLibrary.getAsset(ANIMATION_LeftArmHandGrab) as AnimationNodeBase);
skeletonAnimator = new SkeletonAnimator(animationSet, skeleton);
mesh.animator = skeletonAnimator;
crossfadeTransition.blendSpeed = crossfadeTransitionSpeed;
skeletonAnimator.play(ANIMATION_LeftArmHandGrab,crossfadeTransition);
Where is the dispatcher in all of this that I can listen for the complete event?
Thanks so very much for your time!