public Node getRootNode() {
            if (rootNode == null) {
                rootNode = new Node("ZoomLevel");
                if (parent != null) {
                    rootNode.setLocalScale(1.0f / poiRadius);
                }
            }
            return rootNode;
        }
WorldOfInception - Find the galaxy center ;)

@author normenhansen
jme3-examples/src/main/java/jme3test/games/WorldOfInception.java