Problem with the chaseCam ---> setDragToRotate

Hey Guys,

I’m having a problem with my chaseCam - the game extends SimpleApplication. I want that the chaseCam moves with the character (that’s fine). Moreover i want that the user can rotate this chaseCam with his mouse (no drag). So I used the “setDragToRotate” method. The documentation is the following:

My problem is that the cursor is not invisible and I can only rotate until the mouse cursor reaches the borders of my screen. So the user can’t rotate 360 degrees. What I have done wrong?! :slight_smile: Thank’s for your help!

[java] private void loadCamera() {


chaseCam = new ChaseCamera(cam, playerModel, inputManager);




try disabling the FlyCamAppState instead i.e

[java]public Constructor() {

super(new StatsAppState()); // put the appstates you want here