DirectionalLight light = new DirectionalLight();
light.setDirection((new Vector3f(-0.5f, -1f, -0.5f)).normalize());
light.setColor(new ColorRGBA(0.8f,0.8f,0.8f,1f));
rootNode.addLight(light);
AmbientLight ambLight = new AmbientLight();
ambLight.setColor(new ColorRGBA(0.1f, 0.1f, 0.1f, 1f));
rootNode.addLight(ambLight);
inputManager.addListener(this, "print_scenegraph", "print_cam_location", "print_bboxes", "toggle_navmesh", "toggle_navbodermesh", "nextMesh");
inputManager.addMapping("print_scenegraph", new KeyTrigger(KeyInput.KEY_F6));