I am trying to import my model using xbuf, however this leads to an empty AnimControl (so it sees the Armature but not the individual animation, it seems).
Is there anything I need to know when exporting xbuf files? I mean blender has multiple ways to handle animations (DopeSheet, Action Editor, NLA Strip) and it’s confusing me, so what should I do? Maybe it’s a bug or is it rather misuse?
For those who didn’t know what this means/how I solved it:
Select the Animation in the Action Editor (that is: Dope Sheet View, there Mode: Action Editor) and then switch to the NLA Track Editor.
There you’ll see your action’s name and an double arrow pointing downwards. If you click it, a new NLA Strip will be generated which contains your Action. Strange shit, but it worked
The downside is that playing the animation distorts my mesh into some spikey-looking mess. Not sure what’s wrong there?
Could you post a screenshot of your NLA view?
I suspect you didn’t shift them properly.
This operation is also mandatory with ogre exporter, only the blender loader lets you load animation that are not laid out in the NLA track editor.
The NLA track editor is a time line, here basically the 3 animations are plating at the same time.
You have to shift them so none of them is played at the same time.
I’m currently using my fork of xbuf (f3b) but the code that handle the animations should be pretty much the same and, as for your NLA view, it should work like that, there is no need to shift the strips in xbuf.
If you’ve forgotten to apply the transforms and you do it now it might cause unexpected results, usually what you should do is first apply the transforms and then animate, but if you want to try to save the currect animation without starting from scratch you could try this:
Go into pose mode and reset the armature to the resting pose: CTRL + A (select all bones) ALT + R (reset rotation) ALT + S (reset scale) ALT + G (reset translation)
Go into object mode, remove the armature modifier from your model