@Override
    public void simpleInitApp() {
        // Load a teapot model, we will chase this with the camera
        Geometry teaGeom = (Geometry) assetManager.loadModel("Models/Teapot/Teapot.obj");
        Material teapotMaterial = new Material(assetManager, "Common/MatDefs/Misc/ShowNormals.j3md");
        teaGeom.setMaterial(teapotMaterial);
        rootNode.attachChild(teaGeom);

        // Load a floor model
        Material floorMaterial = new Material(assetManager, "Common/MatDefs/Misc/Unshaded.j3md");
        floorMaterial.setTexture("ColorMap", assetManager.loadTexture("Interface/Logo/Monkey.jpg"));
        Geometry ground = new Geometry("ground", new Quad(50, 50));
        ground.setLocalRotation(new Quaternion().fromAngleAxis(-FastMath.HALF_PI, Vector3f.UNIT_X));
        ground.setLocalTranslation(-25, -1, 25);
        ground.setMaterial(floorMaterial);
        rootNode.attachChild(ground);

        // Disable the default first-person cam!
        flyCam.setEnabled(false);

        // Enable a chase cam
        chaseCam = new ChaseCamera(cam, teaGeom, inputManager);
        /*
         * Explicitly set drag to rotate to false.
         * We are testing to see if disabling then re-enabling the camera keeps the correct flags
         * set so that we can still rotate without dragging.
         */
        chaseCam.setDragToRotate(false);

        // Show instructions
        int yTop = settings.getHeight();
        int size = guiFont.getCharSet().getRenderedSize();
        BitmapText hudText = new BitmapText(guiFont);
        hudText.setSize(size);
        hudText.setColor(ColorRGBA.Blue);
        hudText.setText("This test is for issue 1692.\n"
                + "We are testing to see if drag to rotate stays disabled"
                + "after disabling and re-enabling the chase camera.\n"
                + "For this test, use the SPACE key to disable and re-enable the camera.");
        hudText.setLocalTranslation(0, yTop - (hudText.getLineHeight() * 3), 0);
        guiNode.attachChild(hudText);

        // Show camera status
        cameraStatus = new BitmapText(guiFont);
        cameraStatus.setSize(size);
        cameraStatus.setColor(ColorRGBA.Blue);
        cameraStatus.setLocalTranslation(0, yTop - cameraStatus.getLineHeight(), 0); // position
        guiNode.attachChild(cameraStatus);

        // Register inputs
        registerInput();
    }
A test for issue https://github.com/jMonkeyEngine/jmonkeyengine/pull/1692.
We are testing to see if disabling then re-enabling the chase camera keeps the correct flags
set so that we can still rotate without dragging
jme3-examples/src/main/java/jme3test/input/TestIssue1692.java