Error when calling mixer.clipAction()

I have my model cube.gltf, that contains some animations named “jump” and “rotate”.
Animations playing correctly, but when I use mixer.clipAction('jump'), the error is throwing:

TypeError: Cannot read property ‘length’ of undefined

2018-01-24_14-35-03

// loop();
var delta = clock.getDelta();

mixer.clipAction('jump').setEffectiveWeight(.2);
mixer.update(delta);

TEST REPO includes tests-case for:

Three.js version
  • Dev
  • r89
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • macOS
  • Linux
  • Android
  • iOS

Author: Fantashit

1 thought on “Error when calling mixer.clipAction()

Comments are closed.