I just tried using simple universe instead of virtual universe and the KeyNavigatorBehavior is working like the tutorial said. However, when I use Virtual Universe, it doesn't work, my scene graph is like this:
BranchGroup=>TransformGroup, KeyNavigatorBehavior=>TransformGroup=>ViewPlaform. If I take out the KeyNavigatorBehavior, and try to do some transformations to TransformGroup above ViewPlatform, it works, but if I add back the KeyNavigatorBehavior, it doesn't do the Key functions, the transformation is still done. What happens? is it because I add to wrong place? Andy ----- Original Message ----- From: "Andy" <[EMAIL PROTECTED]> To: "Java3d" <[EMAIL PROTECTED]> Sent: Monday, August 12, 2002 4:28 PM Subject: KeyNavigatorBehavior > Hello everybody: > > I would like to thank you guys helping me a lot here. Thanks. > > Now I got another question. I tried to add MouseRotate into my program and > it works like the tutorial. However, when I added KeyNavigatorBehavior into > it, it doesn't work at all. I would like to know is there a way to > implement the KeyEvents for the view object myself? Or I can use the > KeyNavigatorBehavior to do all the things I want(like move the view forward, > backward, flying around the virtual universe)? > > Sincerely, > > Andy > > =========================================================================== 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".
