Ambiera ForumDiscussions, Help and Support. |
|
|
|||||
|
Hey guy's, I came up with a cool idea for mouse control. It involves having a hidden Java applet that incorporates the use of the Robot class, allowing for control of the mouse. Using this, you can set the mouse position to the center of the canvas window every frame and check how much the mouse has moved each frame and move the camera accordingly. Once the user is done with the application, they can simply press escape (or something similar) to regain control of their mouse. You could even use JavaScript to call functions in the Java applet to set the mouse or get the mouse position. This would, of course, require signing the applet to grant it permission to control the mouse, but would give MUCH more control over the camera than the current, "move the mouse a millimeter and spin out of control" method. Thoughts? |
||||
|
Would be an idea. You could already try to do this yourself, the mouse input can be changed completely without much effort. |
||||
|
|