Login  Register

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

Posted by Andreas on Oct 23, 2015; 10:27am
URL: https://forum.jogamp.org/JOGL-2-support-for-Ardor3D-JMonkeyEngine-3-jzy3d-and-NiftyGUI-tp1706747p4035568.html

Sorry for the missing information.

If I'm using the following line
        final Predicate<TwoInputStates> rightDownMouseMoved = Predicates.and(TriggerConditions.rightButtonDown(),
                TriggerConditions.mouseMoved());
the perform method of the TriggerAction is never called. If I switch from rightButtonDown to middleButtonDown() or leftButtonDown() it workes. But I need all three buttons.

The code to ignore the first event is taken von the OrbitCamControl of Ardor3D. And due to the comment "Test boolean to allow us to ignore first mouse event. First event can wildly vary based on platform." I thought it's ok t leave it.

Andreas