Three.js Collada import animation not working

Posted by Peter Vasilev on Game Development See other posts from Game Development or by Peter Vasilev
Published on 2013-11-03T18:31:37Z Indexed on 2013/11/03 22:20 UTC
Read the original article Hit count: 808

Filed under:
|
|
|
|

I've been trying to export a Collada animated model to three js.

Here is the model:

http://bayesianconspiracy.com/files/model.dae

It is imported properly(I can see the model) but I can't get it to animate. I've been using the two Collada examples that come with Three js. I've tried just replacing the path with the path to my model but it doesn't work. I've also tried tweaking some stuff but to no avail.

When the model is loaded I've checked the 'object.animations' object which seems to be loaded fine(can't tell for sure but there is lots of stuff in it).

I've also tried the Three.js editor:

http://threejs.org/editor/

which loads the model properly again but I can't play the animation : (

I am using Three JS r62 and Blender 2.68. Any help appreciated!!

© Game Development or respective owner

Related posts about JavaScript

Related posts about animation