Animation in THREE JS

There is a model with animation. After the introduction of a new system of animation, I did not get it to run. Maybe I’m wrong to set up export? I am attaching files:

https://www.sendspace.com/file/etv0sl

Code:

var mixer = new THREE.AnimationMixer( player );
mixer.addAction( new THREE.AnimationAction( player.geometry.animations[0] ) );

mixer.update( 1000 );

7 thoughts on “Animation in THREE JS”

Leave a Comment