Hi!
Quick question. So, I've got this character which can run, walk, and have idle animations:
Loading Image
Using the examples on spine-workshop, specifically, the bow procedural thing, I was able to have it aiming a pistol, and have different animations for the legs (run, walk). Awesome that.
Problem is, that I want him to use different aimings, and shooting animations as well. I use:
Animation currentAnimation;
currentAnimation.apply(skeleton, time,true);
... for the legs. I can set a different animation and will change, by doing:
currentAnimation = json.readAnimation(file, skeletonData);
But, for the torso, I've got:
bowAnimation.mix(skeleton, time, false, 0.9f);
... which only mixes a single animation once. If I set a new animation by doing:
bowAnimation = json.readAnimation(file, skeletonData);
... is like ignored.
What am I doing wrong?
Second question. How could I reproduce an animation backwards? Like... I animate a pistol deploy. Playing it in reverse mode/backwards, is like it would holster the pistol.
Tons of thanks in advance!