Hi all! In most games and some other programs the mouse is used to navigate through a 3D environment. Such as in Quake and some other games.
To do this you can move the mouse to the center of the screen, measure the distance the mouse is moved by the player, rotate the view accordingly and then move the mouse back to the center. The mouse cursor is of course hidden (transparent?) all the time. Java has a class called java.awt.Robot which enables the Java program to moven the mouse pointer to a certain position which is required. Unfortunately this class doesn't work very well in Windows. The mouse seems to flicker, sometimes be positioned accoring to the position I provided using the Robot class and sometimes accoring to the position Windows provides. Is the some other way you can either measure the mouse movement or position the mouse ??? Regards Patrik Olsson ==========================================================================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".
