I have exported blender JSON animation into THREE.js, everything works fine, but I want to play the animation only once and stop instead of looping the animation.
相关问题
- Views base64 encoded blob in HTML with PHP
- Is there a way to play audio on a mobile browser w
- HTML form is not sending $_POST values
- implementing html5 drag and drop photos with knock
-
Why does the box-shadow property not apply to a
Set the
loop
property on theAnimation
object to false.documentation here: http://threejs.org/docs/#Reference/Extras.Animation/Animation
Old question, but in case anyone needs it the solution is to set
animation.setLoop( THREE.LoopOnce )
I'm referring to ThreeJS
r84
.