hai
firstly i`m not sure i`m on the right path. I’m trying to play skeletal animation from sequence to another. in this case from walking animation to attacking animation. so i use listener to detect if the sequence is complete
walk = (AssetLibrary.getAsset(walkAnimName) as SkeletonAnimationSequence);
walk.looping = false;
walk.addEventListener(AnimatorEvent.SEQUENCE_DONE, walkFinish);
it work fine for one mesh. when i make 5 or more character, the animation stuck. i realize that i must clone this “walk”. Because AssetLibrary.getAsset will share the same SkeletonAnimationSequence for all the character, while i need to handle them for each character. sadly the clone() is not exist.
is there anyway to do this?