Creating a player node

I have been working on a class to control player interactions, location, objects, models, and the camera. I have one major problem right now I am unable to figure out how to turn the player. I have been looking for how then engine handles it when you use the camera for the head movement, but have been unable to find the code in any class related to the camera that detects mouse input. I was hoping to figure out how the engine does it so I had an understanding of how to do it before I make another attempt to write direction handling code. If someone could point out where the code that handles “head movement”, camera movement, In the JME3 libraries that would be great. If there is a better way to handle movement please say so.



Thanks.

This is what moves the default camera in jME

FlyByCamera.java

I was looking in the wrong place :), camera and chaseCamera among others.



Thanks.