Page 1 of 1

Entity Animation

Posted: Tue Nov 20, 2018 2:51 pm
by just_try
hello
I want to add an AnimationState to an existing entity(virtual human) that an already animated in 3ds max and exported (.mesh, .skelton,.material)
but it does not work and I get this error even if I change the name of AnimationState to another:
i get this error:
Image

Here is what I did to set it:
Ogre::AnimationState* _aniState;

aniState= _ent->getAnimationState("Walk");
_aniState->setEnabled(true);
_aniState->setLoop(true);

waiting for your reply, please?