My problem is that the animation wont load when i put it into my game. The console says: "Not matching normal and face index count found in x file" when i load the mesh.
I made the mesh and added the animation with blender and then exported it into an .x file.
EDIT: Now i can tell that the skeleton is causing the error. Because i tried a small animation with the same mesh, without the bones and it worked.
Why is it like that? What does "Not matching normal and face index count " mean?
This is somewhat of a shot in the dark, but Blender's .x exporter does not export indices correctly, at all. Could you perhaps upload your .blend file somewhere and I'll take a look at it? If it consists of multiple objects and/or bones then that might be the reason it's having problems. Basically Blender's exporter doesn't keep track of what vertices belong to what object, so when it writes the indices the numbering is way off.
I've written a patch, which I'll post if you'd like
-wyrmmage
Can someone please answer this question if you cannot answer the one above.
I just started using irrlicht and ive tried to implement animation with no sucess. Ive tried 3ds files, .x files, collada 1.4 (showed nothing), .obj files (exported 500 obj files XD with blender).
Please can someone tell me witch program i should use and wich format i shoulld export to so it works with animation.
One thing you may want to try is to export your file from Blender into whatever format, start a new project, then import your file back into blender. This is one way to verify that Blender is writing exporting your object correctly (trying this with the .x exporter is a good laugh ). I'll upload my updated DX exporter when I get back to my laptop, but I don't know if it will help you or not, since I haven't played around with animation using it.
-wyrmmage
I think you just need to learn the problems with the X exporter, perhaps you're doing something it doesn't like. Check the FAQs forum for other people's experiences.
You can use X, B3D and MilkShape 3D for bone-based animated meshes, MD2 and MD3 for 'tweening animated meshes. All other mesh formats are not animated.