title: How do I rotate the camera/viewPlatform in java 3d
body: <p>I just started java3D and I can move the camera up/down/left/right/forwards/backwards, but I can't seem to figure out how to make the camera angle change, for example, change from looking forward to looking left. Could someone give me an example? Also, should I be putting            getViewingPlatform().getViewPlatformTransform().setTransform(test.position); in my main method, or should I do something else?</p>
  
  <p>I've tried just using the mouse and rotating the view
      OrbitBehavior orbit = new OrbitBehavior(canvas,      OrbitBehavior.REVERSE_ROTATE);</p>
  
  <pre><code>orbit.setSchedulingBounds(new BoundingSphere());
  orbit.setRotXFactor(2);
  orbit.setRotYFactor(2);
  </code></pre>
  
  <p>But it doesnt work when I add   getViewingPlatform().getViewPlatformTransform().setTransform(test.position);
  to the while loop in the main method. The viewing angle repeatedly gets reset.</p>