diff --git a/examples/js/loaders/ColladaLoader2.js b/examples/js/loaders/ColladaLoader2.js index fb9958a7eb1fb7bf7e2a0cbb2c2c2c20956ff76d..a04a2d4eadb4ad26337e8e49d270463c03b0ce5a 100644 --- a/examples/js/loaders/ColladaLoader2.js +++ b/examples/js/loaders/ColladaLoader2.js @@ -468,7 +468,12 @@ THREE.ColladaLoader.prototype = { function pushVector( i ) { var index = indices[ i + offset ] * 3; - array.push( source[ index + 0 ], source[ index + 1 ], source[ index + 2 ] ); + + if ( asset.upAxis === 'Z_UP' ) { + array.push( source[ index + 0 ], source[ index + 2 ], - source[ index + 1 ] ); + } else { + array.push( source[ index + 0 ], source[ index + 1 ], source[ index + 2 ] ); + } }