Hi all!
I have one problem with export models with animation to babylon format.
First, I have some models from mixamo in .dae format. I import one of that models into blender (2.76), and all working good. But skeleton has some transform: rotation on X 90 degree and scale.
Then, I export this model to *.babylon format and load into my scene. Scale from skeleton and rotation didn't save, but animation worked good.
After I wrote some code to fix scale and rotation:
unit.scaling = new BABYLON.Vector3(0.01, 0.01, 0.01) unit.rotation.x = 3 * Math.PI / 2;
Without animation model loaded fine, with correct size and rotation. But after animation started
scene.beginAnimation(skeletons[0], 0, 16, true, 0.3);
I have something wrong...
What I do wrong? =)
Thanks in advance and sorry for my English.