mrdoob/three.js — Issue #1042: Clone Model and TrackballControls Questions
Author: kor86
Created: 2012-01-07 17:12:54+00:00
State: open

Hi, thanks for this absolutely great JS!

I have two Questions:
1. How can I clone a Collada Model without reloading it?

Currently it´s loaded via

var loader2 = new THREE.ColladaLoader();
loader2.load( './my/astro.dae', function colladaReady( collada2 ) {
dae2 = collada2.scene;
dae2.scale.x = dae2.scale.y = dae2.scale.z = 0.02;

dae2.position.x=30;
dae2.position.y=30;
dae2.position.z=30;

init();
animate();
} );

and then added to the scene.

2. I´am a great fan of the TrackballControls but I´ve a problem.
I´am not able to move the centered object because then it seems that the camera does not follow.
Is there a possibility to merge TrackballControls 360° model view and the moving of FlyControls?

Thank you.