Reintroduce ColladaLoader convertUpAxis option

Description of the problem

Would you consider adding the convertUpAxis option back in? If it defaults to true, that wouldn’t change any behavior, but we do have a use case at where we need to be compatible with a system that ignores the up axis (and is unlikely to change soon, because that would break quite a few things).

Now, we could fork ColladaLoader (for now, that’s what we’re planning to do), but of course it would be nicer to just use the current version

Three.js version
  • Dev
  • r88
  • All of them
  • All of them

Author: Fantashit

1 thought on “Reintroduce ColladaLoader convertUpAxis option

  1. Workaround:

    new THREE.FileLoader().load( 'file.dae', function ( text ) {
        text = text.replace( '<up_axis>Z_UP</up_axis>', '<up_axis>Y_UP</up_axis>' );
        var collada = new THREE.ColladaLoader().parse( text );
        scene.add( collada.scene );
    } );

Comments are closed.