title: three.js copy mesh loaded object JavaScript
body: <p>Im using three.js r59, Im having trouble trying to copy a loaded model. What im trying to achieve is to loop and create several models.I will worry about applying texture to them later..</p>
  
  <pre><code>   for (var i=0; i&lt;5-1; i++){
  
       var loader = new THREE.OBJLoader( );
       loader.load( 'mod/bookH.obj',function ( object ) {
       object.traverse( function ( child ) {
       if ( child instanceof THREE.Mesh ) {
           child.castShadow = true;
           console.log(i);
           //child.material.map = texture;  //dont need right now
  
          }
  
      } );
          //below works
              object.position.set( 1 * 0, 0, 5 );
          scene.add( object );
  
              //below doesn't work and no error...
              var testMesh = new.THREE.Object3D(object);
              scene.add(testMesh);
  
  
      });  
      }
      }
  </code></pre>