I'm using spine along with SFML. I have a character that is always animated. When he shots, I set an animation that affects only his arm. The arm goes up, but I need to stop this animation in the last frame while he keeps shooting.
I use this to make him walk
AnimationState_setAnimationByName(drawable->state, 0, "walk", true);
And this to make him shot
AnimationState_setAnimationByName(drawable->state, 1, "rshot", false);
I can't find a way in Spine c runtime to make this.
I could resolve this if I find a way to update manually tracks 0 and 1, instead of the full animation.