Login  Register

Re: JOGL 2 support for Ardor3D, JMonkeyEngine 3, jzy3d and NiftyGUI

Posted by Mr.Marbles on Jun 30, 2016; 2:51pm
URL: https://forum.jogamp.org/JOGL-2-support-for-Ardor3D-JMonkeyEngine-3-jzy3d-and-NiftyGUI-tp1706747p4036870.html

I've got a fix for the mouse cursor auto-centering issue and created a pull request:
https://github.com/jMonkeyEngine/jmonkeyengine/pull/519

In that fix, the jogamp.newt.WindowImpl.confinePointer() is no longer used. I am manually locking the mouse cursor position, when the mouse cursor is hidden, to it's last known location. This fixes the jumping camera observed in JME.