Hi,
I've got a little problem with bones animation.
I use a character model with 2 scenes: "walk", "talk".
This is part of the code I use:
ent_animate(my,NULL,0,0); // reset all bones
ent_animate(my,"walk",my.CHAR_ANIM_PERCENT,ANM_CYCLE);
if (my.isSpeaking == 1) {
ent_animate(my, "talk", my.SPEAK_ANIM_PERCENT, ANM_ADD+ANM_CYCLE);
}
If "my.isSpeaking" gets 1, the talk animation is added to the walk animation.
The problem is that once the talk animation starts the character model crosses his hands (left hand to right body side, right hand to left body side). The rest of the animation is played correctly.
Is there something wrong with the code? Or does someone have an idea where the problem with the model could be?
Regards,
Pegamode.