Currently working on a project using Jmonkey and Nifty as GUI, I’d like to use a 2D slider (as those for mobile app, or square one), but I don’t find any in the nifty’s controllers.
The only controllers I’ve found was the drag’n’drop one, however it doesn’t seems that I can modify the onClickMouseMove event to use it as a Slider.
I’ve tried to use the interactonMouseMove(“method()”), but the controller stopped moving while doing my method, when I’d like it to do both (moving and sending his position)
It seems also that Nifty use its controls through a Builder, and doing so it’s not possible to modify the Drag method of a DraggableControls.
Is there someone having any clue about what I could do ?
This is the kind of thing that seems like it would be way easier to do with a UI that is real scene graph objects, like Lemur. There was even another thread on this recently already.
And actually, in the case of Lemur, it wasn’t even using UI components but just the picking and drag handler already built in.
The fact is that the UI already exists, I have to add this slider over some, and I’m not sure to be able to create a full new UI just for this slider.
Can Lemur be used together with nifty ?