FBX 2018 format animation issue

I bought a 3D model with animation online, which is .max file format. I just got Autodesk 3DS MAX 2018, so I exported it as FBX 2018 format. Whether I baked animation or not, the model could be shown fine in the scene but the animation could not be played at all. The code that I loaded the model is shown as below, which is the same as the threejs example:

`

      var loader = new THREE.FBXLoader();
      loader.load( 'angel/angel2.FBX', function ( object ) {

          mixer = new THREE.AnimationMixer( object );

          var action = mixer.clipAction( object.animations[ 0 ] );
          action.play();

          object.traverse( function ( child ) {

            if ( child.isMesh ) {

            child.castShadow = true;
            child.receiveShadow = true;

            }

            } );
          object.position.y = 200;
          object.scale.set( 50, 50, 50 );
          scene.add( object );
    } );

`

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

Author: Fantashit

2 thoughts on “FBX 2018 format animation issue

Comments are closed.