I've integrated C++ Runtime with my engine and have options to start an animation and stop all animations and return back to the setup pose. For stopping I am using:
animationState->setEmptyAnimations(duration);
Also I've AnimationStateListener object.
How exactly can check that the setEmptyAnimations() has finished? I listen for EventType_Complete but how to check that the reported TrackEntry is actually the one started from setEmptyAnimations() ?
I see the empty animation has the magic name of "<empty>" and the only method which knows about that is Animation *AnimationState::getEmptyAnimation() which is private.