Entity Animation

Problems building or running the engine, queries about how to use features etc.
Post Reply
just_try
Gnoblar
Posts: 6
Joined: Tue Mar 13, 2018 8:24 pm

Entity Animation

Post by just_try » Tue Nov 20, 2018 2:51 pm

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?
0 x

Post Reply