Hello!
I'm trying to set an other startpoint for my keyNavigatorBehavior. I
can't figure out where the default point is set when I add this.
I would like to set the point for the "camera" a bit higher up on the Y
-axies, so I can se a landscape from above.
State for the camera now (Camera I__I, Landscape
-----------------------------------------):
I__I ------------------------------------------------------
Desired state for camera:
I__I
----------------------------------------------------------
This is my code so far:
TransformGroup transformGroup1 =
simpleUniverse.getViewingPlatform().getViewPlatformTransform();
KeyNavigatorBehavior keyNavigatorBehavior = new
KeyNavigatorBehavior(transformGroup1);
keyNavigatorBehavior.setSchedulingBounds(new BoundingSphere(new
Point3d(0.0f, 0.0f, 0.0f),100.0));
branchGroup.addChild(keyNavigatorBehavior);
Would be great with some code that tell me how to do this!
Best Regards
Fredrik
==========================================================================To
unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".