Im now using this engine, and after playing a bit with it im stucked in this 2 points:
How should I load animations?
I use a character structure with 6 mesh parts, each sharing the same skeleton, thus the same animations…
But I have the animations each one in a diferent skeleton.xml file (Used ogre format to export them).
Atm I just dunno how can I load those files into the current skeleton to get the anims inside the engine… suggestions?
EDIT: Can I load an skeleton, and several animations, just one time, and set it to multiple meshes?
PhysicsControllers seems to be buggy… When I place a capsule, and attach it to my chr’s node (It has 6 meshes inside), the capsule just gets its mid point at the floor. Also I have to set a fixed radius and height, or app will crash… so its quite useless… I have to know the mesh dimensions, and I just cant get the capsule fit the model…
1 - I Think it’s impossible, I think the only way would be joining the models ctrl+j. Then there will be just one skeleton xml. About the animations, yes, you can set several animations for your skeleton.
2 - Collision shapes for several models jjust work with CompoundCollisionShape.
Hmmm. The OgreXmlImporter just find for a SKELETON xml files, not animations xml files. And the OgreMeshesExporter does not export animations in separated xml files.
the animations are in .skeleton.xml files, and the exporter (OgreMax) does support exporting them…
Anyway what I want is to load the raw animation to the AnimControl, there is the Animation class, which seems to be what I want, but I just dunno how to use it and the doc about it is a bit… confusing xD
I have several assets to import… they are originally in FBX format… (atm i HATE that format.)
WHat its giving me more heache are the anims, cause they have no tag at all… I have a little script that let me split the anims in different FBX files, so I can export each anim to its own SKELETON.xml file… but If I export the whole track… the anims will mix, so Ill have one single anim which i’ll have to split by hand…
Repeating the process for each single model I have… PFFFFFFF
Humm yes… but there’s not a node for the hand… In other engines I just used the hand bone’s matrix to update weapon’s, Ill try the attachChild method ty
No, it has childs, but what I need is a specific bone I think I know how to do it ^^ ill test it as soon as I work out how to get the animations… probably the best way is to export the anims to separate files… and just mix them by hand XD (That way I can reuse the same skeleton ^^)