
My code can serve as an example for generating bone hierarchies. The work should be done in the actual import plugin instead, but I was just seeing what I could do. My post-processing script "almost" gets the rotation right, but needs work. To make it use bones, the relative offset of the child needs to be the tail (not the head like in the empties it generates currently). VirtualBrightPlayz almost imports animations (!)-help out there if you can.

If you're interested in helping figure out animation export/import, you can visit the source repository and/or the issue tracker.

I am attempting to use as much of Blender's functions to manipulate matrices as possible to make the code easier to understand at a glance. Animations without child bones should work, as well as UV textures. Specifically, I have not yet figured out the transformations needed to make child bones animate properly in Minetest. Unfortunately, I am not a game developer, I'm just familiar with Python, so animation export/import is incomplete/buggy.

You can download the addon ZIP file from here to install into Blender. I've started a Blender 2.93 LTS plugin to export and import Blitz3D files because existing plugins seem to only work on older Blender versions.
