You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers. No questions about C++ programming or topics which are answered in the tutorials!
I made simple character mesh and i attached armature to it in Blender.
Armature works fine in Blender and i exported it to .b3d format by Gandalf's exporter but game dont see armature part...
I really do not know much about creating and exporting animations in blender yet but it appears that your object does not have an action associated with the armature. When an action has been associated with the armature in Blender the Blitz3D exporter will then put the name of the action in the Action name box or you will be able to select an action if you attach multiple ones I assume.
I very roughly (because I didn't really know what I was doing) attached an action to the armature the name of the action appeared in the box, the name of the armature joint also appeared in the .b3d file (i renamed it to my_arm) because the word ARm appears in the file associated with the Armature I suspect, I was then able to use my IrrlichtWrapper joint animation example to quickly load the file and get a hold of the joint object.
However I was unable to move the joint by rotating the object I suspect there might be something else wrong in there, perhaps someone with more experience can suggest an explanation.
1. When i done modelling i added armature then extruded it
2. I turned on Enevelope mode then i scalled enevelopes to attach each polygon to bones
3. In object mode i selected character model then i added Armature modifier and i wrote Armature in OB editbox
4. Added action in Action Editor
5. Exported
I dont know if it's correct cuz im not experienced with Blender.
For step #3, you will have to parent the armature to the bone. Now, how do you do that? Well, follow the steps shown below:
1) You have to have only one armature, select that in object mode.
2) You have to have only one mesh. Hold down the shift key and select the mesh.
3) Press ctrl+P and select 'Named Groups'
Note: That is how I remember it at the moment, it will most probably incomplete since I don't have Blender running at the moment. But that is generally how you do it.
PS: I might have switched the mesh-armature parenting. So if step #1 and #2 doesn't work, try switching it by selecting the armature first and parent it to the mesh.
Last edited by dlangdev on Mon Dec 29, 2008 9:42 pm, edited 1 time in total.