you need to know your animation names, which are defined in a .skeleton file. After that just get the animation state from the given animation name.
For example:
What I mean is, after loading a mesh with a skeleton file (which has one animation), then I programmatically add another animation to the skeleton. The entity still has the original animation only, can check this with mBodyEnt->getAllAnimationStates()->getAnimationStateIterator().
I will follow through the tutorial and see if that helps.
hello
you said "you need to know your animation names, which are defined in a .skeleton file"
how I know because I open the file and I found some symbols I did not understand it?
give me a name of the software or something help me.and thanks?
If you want to see the names of animations in the .skeleton file you can use the 'OgreXMLConverter' or 'OgreMeshTool' tools that come with ogre to convert your .skeleton file into a .skeleton.xml file that you can eyeball.
Hey again ..
I have a problem..i hope you can help me
I imported a virtual human in 3ds max (2015) and I applied a movement ('Walk')(. * bip) .. everything works well in 3Ds Max..
but when I export this entity by (Ogre max) to use it in my 'visual studio' code ..
I can not find the name of the animation performed in the (.skelton) file..Why?
?