Viktor
11-11-2009 23:18:43
I'v searched the forum and couldn't find the answer. How can I set the animation of a OGRE3DBody? Is it possible?
When I load this mesh, there is no animation.
The mesh "teste.mesh" have 2 animations called "up" and "sideUp". I'v read about getAnimationState from OGRE entities objects, but I can't acces the mEntity property that should have the getAnimationState method.
I'm not worried about collisions yet
Sorry for my english ;D
mRenderSystem-> createBody(new NxOgre::Capsule(1,4), NxOgre::Vec3(0, 0, 0),"teste.mesh");
When I load this mesh, there is no animation.
The mesh "teste.mesh" have 2 animations called "up" and "sideUp". I'v read about getAnimationState from OGRE entities objects, but I can't acces the mEntity property that should have the getAnimationState method.
I'm not worried about collisions yet
Sorry for my english ;D