private void createLight() {
        Vector3f direction = new Vector3f(-0.1f, -0.7f, -1).normalizeLocal();
        DirectionalLight dl = new DirectionalLight();
        dl.setDirection(direction);
        dl.setColor(new ColorRGBA(1f, 1f, 1f, 1.0f));
        rootNode.addLight(dl);
    }
A walking animated character followed by a 3rd person camera on a terrain with LOD.
@author normenhansen
jme3-examples/src/main/java/jme3test/bullet/TestWalkingChar.java