I want to clone a model loaded with loader, I found this issue on github,but the solution doesn\'t work. It seems there has been an structural change in Object3D.
Ho
Actually mrdoob's answer is your answer...
The loader output a geometry you use to create a mesh. You need to create a new mesh with the loader-created mesh's geometry and material.
for ( var i = 0; i < 10; i ++ ) {
var mesh = new THREE.Mesh( loadedMesh.geometry, loadedMesh.material );
mesh.position.set( i * 100, 0, 0 );
scene.add( mesh );
}
You want to clone a Mesh and not an Object3D because the output of the loader is a Mesh.