Animation runs uncontrollably, why?

I added some animation to my scene, and then play it through code (animation.CrossFade(“abc”);). I don’t understand why I set the animation’s speed to smaller 1.0, the animation stops when it hasn’t finished. I tried to play it automatically (by the inspector) and then found sometimes it cannot finish.

Can you explain me what happened? Have something I forgot?

Thank you very much

If you set the animation’s speed to zero, it will pause playback. Is it possible you are doing this somehow?

no, I just use the code to play it. I copied the project to another computer and it runs well. That computer is much slower than mine. I still don’t know why…

Can you post the script you are using? (You knew I’d say that, didn’t you? :wink: )

Sorry for my slow response.

Our animation was created by auto-key in 3DSMax. I attached the full script, but I don’t hope that It would help a lot:

221654–8039–$bridgecontrollerex_208.js (2.36 KB)