character->walk(); // Play walking animation
character->holdGun(GUN_AK47); // Play arms animation for holding weapon while still playing walking animation
Playing multiple animations at the same time
I can't find a question anywhere. What is the problem? If you want general info, try googling "animation blending".
bone = (animation1 + animation2) / 2.0
Just average the animations together.
EDIT: I see i fell into the same trap as guy with beard. Assuming both animations are based on the same skeleton, just remove the averaging. If an animation only affects the arms, and another only affects the legs, then simply adding them together should give you the result your looking for, assuming that the animation data is all delta rotation/location from a bind pose.
Not sure if you guys understood me, I mean I want to mix both animation to create ANOTHER animation from them.
Feet animation + Arms animation = Final animation
What I know is animation blending is used for smooth transition between animations.
There is a Frank Luna's pdf book downloadable on this page with stuff that you need.
There is also source code that accompanies that book but i can't remember where did i get it from.
Try googling it.