Hello everyone!!
This is my first post in this forum. I came here before to look for answers and always was successful , but now I have a problem I'm afraid I couldn't resolve by myself:
I have a sequence of animations, like this
Anim 1 (loop) > Anim 2 > Anim 3 (loop) > Anim 4 > Anim(5)
This is my code for that, first, the mixes:
this.entity.spine.state.data.setMix("normal","aburrido",0.2);
this.entity.spine.state.data.setMix("aburrido","aburrido_parpadeo",0.2);
this.entity.spine.state.data.setMix("aburrido_parpadeo","aburrido_enfadado",0.2);
this.entity.spine.state.data.setMix("aburrido_parpadeo","enfadado_parpadeo",0.2);
Then, the animations:
this.entity.spine.state.setAnimationByName(0,"normal",true);
// Something happens and then:
this.entity.spine.state.setAnimationByName(0,"aburrido",false);
this.entity.spine.state.addAnimationByName(0,"aburrido_parpadeo",true);
// And then lastly
this.entity.spine.state.setAnimationByName(0,"enfadado",false);
this.entity.spine.state.addAnimationByName(0,"enfadado_parpadeo",true);
And the result I have is this: Изображение удалено из-за отсутствия поддержки HTTPS. | Показать
Some elemets of the face are disappearing... then I change the animation tracks to something like this:
this.entity.spine.state.setAnimationByName(0,"normal",true);
// Something happens and then:
this.entity.spine.state.setAnimationByName(1,"aburrido",false);
this.entity.spine.state.addAnimationByName(1,"aburrido_parpadeo",true);
// And then lastly
this.entity.spine.state.setAnimationByName(2,"enfadado",false);
this.entity.spine.state.addAnimationByName(2,"enfadado_parpadeo",true);
And I could fix everything BUT the mouth.. I still have the same problem. Any Ideas?
Thank you in advance!!!