Re: JOGL 2 support for Ardor3D, JMonkeyEngine 3, jzy3d and NiftyGUI
Posted by
Mr.Marbles on
Jun 30, 2016; 1:19pm
URL: https://forum.jogamp.org/JOGL-2-support-for-Ardor3D-JMonkeyEngine-3-jzy3d-and-NiftyGUI-tp1706747p4036869.html
I've investigated this bug a little more and found that the issue goes deeper than just that NewtMouseInput. The jogamp.newt.WindowImpl.confinePointer(boolean) actually moves the mouse cursor to the center of the screen using the warpPointer() method. Unfortunately, this mouse movement to the center of the screen is interpreted as a user action and causes the JME camera to jump. Why does the cursor need to be centered? Can it not simply be locked to whatever position it was last in?