Blender exports a three.js animation - bones rotate strangely

admin

Administrator
Staff member
I'm currently trying to export an animated blender model to three.js using the exporter of three.js (github.com/mrdoob/three.js/tree/dev/utils/exporters/blender/2.66/scripts/addons).

I've created a model including bones and weights and a tiny animation.

The problem I have: The model gets broken. Somehow the bones don't rotate around their origin but around the origin of the root bone. Moving the bones manually does not make a difference.

I followed these tutorials:
devmatrix.wordpress.com/2013/02/27/creating-skeletal-animation-in-blender-and-exporting-it-to-three-js/

dev.mothteeth.com/2012/10/threejs-blender-exporting-skeletal-animations/

I have:
Deleted the Armature

Checked the Vertex Groups

Keyed all bones in the first and last frame.

I've been to pretty much every thread I could find on github and stack overflow. These seem to be the main issues for these errors. But I guess I still miss any point. :(

I have uploaded all files including the blender files and exported animation.
<a href="http://www.file-upload.net/download-8068001/forum-files.rar.html" rel="noreferrer">http://www.file-upload.net/download-8068001/forum-files.rar.html</a>
Any suggestions?
Thanks a lot in advance.