I'm currently working on a project in school where I have to desing the whole school in J3D. I was wondering if it's possible to re-write the keynav behavior in such way to act similar to the commercial FPS games today, like quake, unreal and so on. Like you all know, when using keynavigator you navigate with your keyboard but I'd like to change that so you can "look" in any direct with your mouse and only walk with the keyboard cursors. I hope you know what I mean.
Anyway, I tried modifying keynavigator.java and I just change from rotLeft()/rotRight() to moveLeft()/moveRight() when the cursors where pressed. The problem here was when I used my modified keynavigator, it didn't have the same sensitivity as the original one and it didn't use the acceleration either. Probably because those functions exist in teh klass keynavigatorbehavior...i think...but how can modify both of them? I tried to do that but then I get an error message telling me there is something wrong with the files in the package and I should remove them...or something like that. Another problem is how can I use the mouse to rotate?? I hope someone has the time to read all this. I'd really appreciate it if anyone could push me in the right direction, at least where I could read more about this. I tried everything...I read the Java 3d tutorial and I tried to search all over the internet but haven't found anything on the subject.. Thank you very much for your help Flavius =========================================================================== 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".
