title: Switch threejs from TrackBall to Fly Control
body: <p>I want to change from TrackBall to Fly Controls and, although I followed the answer provided on <a href="https://stackoverflow.com/questions/11304998/switch-threejs-controls-from-trackball-to-flycontrols-and-vice-versa">Switch threejs controls ( from TrackBall to FlyControls and vice versa)</a> , I couldn't get it to work properly. </p>
  
  <p>If I "rotate" the model using the trackball (by clicking on it and moving the mouse), when I switch to fly I may lose sight of the object.</p>
  
  <p>My guess is that it's not enough to save the position/rotation of the previous camera, but I also need to save something else, like the world matrix position/rotation. But dunno if it's the correct way.</p>
  
  <p>Example here:</p>
  
  <p><a href="http://webgl.zelda.com.br/index2.html?m=Ghirahim" rel="nofollow noreferrer">http://webgl.zelda.com.br/index2.html?m=Ghirahim</a></p>
  
  <p><a href="http://webgl.zelda.com.br/index2.html?m=Zelda" rel="nofollow noreferrer">http://webgl.zelda.com.br/index2.html?m=Zelda</a></p>