adam0101
adam0101

Reputation: 31055

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?

Upvotes: 1

Views: 6627

Answers (1)

Mouloud85
Mouloud85

Reputation: 4234

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

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

Upvotes: 6

Related Questions