I set the mouse cursor visiable. Now if i move mouse on a model, I want to know how to judge the mouse is on which model. And if click mouse button, will pick this model. Then the picked model can be move by mouse drag.
Anybody could give me some advise how to achive this function using JME3?
Hi, I guess you’re looking for something like these:
https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:beginner:hello_picking
https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:collision_and_intersection