I've found following code in the Animation class.
if (time >= frames[frames.length - 3]) { // Time is after last frame.
bone.x += (bone.data.x + frames[frames.length - 2] - bone.x) * alpha;
bone.y += (bone.data.y + frames[frames.length - 1] - bone.y) * alpha;
return;
}
the point is it break the position of the root bone in my animation. The point is - root bone doesn't have any keyframes. And when this code get's run the bone.x and bone.y gets reseted to 0. And I would like to know what I could change in the animation to avoid this stuff.
Cheers
Mariusz