Page 1 of 1

Blender->Ogre Keyframed Animations

Posted: Thu Sep 29, 2005 12:15 am
by ferr
The tutorials explaining animation in Ogre all have named animations such as "Idle" "Jump" "Walk" etc, although in Blender I believe you can only have one full Animation of all animations, which you have to bake (which apparently makes every frame a keyframe I think) and I assumed you were supposed to animate the mesh in Ogre by accessing the given keyframes (i.e. KFs 1-25 = WALK, KFs 26-50 = Jump, etc.) But I can't find examples of this usage or any hints that this is actually the correct method of animating Blender->Ogre meshes. Could someone point me into the correct direction? Currently I am just able to access a single "ACTION" animation which forces my mesh to go through every animation it has.

Posted: Thu Sep 29, 2005 12:41 am
by xavier
You can rename the subactions into whatever you want. In the one I am working with, I called 1-25 "WalkStart", 25-75 "WalkLoop" and 75-100 "WalkStop". Then you can reference these with a call to getAnimation(animName) on a Skeleton object.

Re: Blender->Ogre Keyframed Animations

Posted: Thu Sep 29, 2005 12:48 am
by reimpell
ferr wrote:Could someone point me into the correct direction?
Blender's manual is accessible via the its "Help" menu (Help->Manual), the exporter documentation is in the ogrenew/Tools/BlenderExport/Docs directory.

Posted: Thu Sep 29, 2005 3:56 am
by ferr
Thanks! Fixed the mesh.