Hello, blender users and coders
I wonder if there is a way to export complex animated scene from blender to .fbx file with multiple “takes”.
I know that blender .fbx exporter can grab actions from action editor and export it as “takes”.
The problem is that I need to export whole SCENE that has several character rigs as single fbx file where characters (rigs) follow the same animation track at once. Not same per each rig but for the whole scene.
There are 2 possible options with default fbx (binary) export script:
with “All Actions” or “NLA Strips” checked I get all animations from each rig, like: Char1.Idle, Char1.Dance, Char1.Idle, Char2.Dance and so on. So when I start animation only one character is moving.
with “All actions” or “NLA Strips” unchecked I get almost what I want: all characters start moving at once when I play animation, but the problem that I get only one “Scene” animation. And I see no way how to separate this long animation in parts and give it names as it possible for example in Unity:
I know that it is possible to store such “takes” split from one original animation in fbx file.
But I don’t know the way how to do it.
Unity can’t export back to .fbx. I am also not sure that my blender file can be successfully imported in other 3d software for further exporting to .fbx.
Does anybody know how to solve this problem with splitting animation of the complex scene in several “takes” and export it like that to .fbx file?
I found pieces of code in “export_fbx_bin.py” file that seems possible to solve my problem with a bit editing. But I am not very experienced in python and blender API especially, so I have failed in this task.
Are there anybody who is able to make corresponding adjustments to those lines of code?
Or anybody who can show me another solution for this task?
Any help would be greatly appreciated