Dear Andy, > Hi, I may bother you all too much, but I really want to know that how do I > move the view in the virtual universe, like flying around, which is done by > keynavigatorbehavior. Cuz I am trying to construct a house, and I can > navigate inside. Thanks.
I'm unsure from your question what you really are after. If you want to move around as with KeyNavigatorBehavior then just use it. If you don't know how to do that, you _definitely_ should read the Java3D tutorial, especially chapter 4.4 Behavior Utility Classes for Keyboard Navigation. If you want to do the keyboard/mouse handling on your own, you should look into the code for KeyNavigator and KeyNavigatorBehavior how they do it ... it boils down to manipulating the Viewplatform Transform. The Viewplatform is the place where your avatar/ camera/eye sits (compare figure 4-8 from the tutorial) in the virtual world and that platform can be moved, turned and scaled freely by changing it's Transform taking the camera with it, resulting in a changed projection onto the canvas. If this both isn't what you wanted to know feel free to ask your question a little bit more specific. regards Georg ___ ___ | + | |__ Georg Rehfeld Woltmanstr. 12 20097 Hamburg |_|_\ |___ [EMAIL PROTECTED] +49 (40) 23 53 27 10 =========================================================================== 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".
