Turning the model (object) for gaming mouse

Hello everyone!

I’m new to jme. The second day trying to figure out how to:

a) add the gaming mouse. I mean, I already made a scene, there is a model that moves the world with wasd. But, alas, how to add MOUSE I can not understand = (

b) how to make this model of “spin” of the mouse? A good example is a game of Alien Shooter.

I would be extremely happy for any help =)

Sorry for my English - Google translator …

in first - I mean mouse cursor in the game. =)

[java]flyCam.setDragToRotate(true);[/java]
Gives you mousecursor and you can miove the view with dragging. If that is what you are looking for.

Look at those for more info:
https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:input_handling
https://wiki.jmonkeyengine.org/legacy/doku.php/jme3:advanced:mouse_picking