animationthree.jscolladaskeletal-animation

Animation is too fast in Three.js


I'm loading my model and skeletal animation using the ColladaLoader into Three.js and it appears to be doing the right movements as far as I can tell, but the animation is ridiculously fast for some reason. How do you control the speed of the animation?


Solution

  • var animation = THREE.Animation( mesh, animationData );
    animation.timeScale = 1/5 ; // add this
    

    the default timeScale is 1, reduce it to lower your animation