Vector3f objectCenter=((BoundingSphere)rootNode.getWorldBound()).center; Vector3f lookAtObject=new Vector3f(objectCenter).subtractLocal(c.getLocation());
c.setFrame(c.getLocation(), new Vector3f(-1,0,0).crossLocal(lookAtObject).normalizeLocal(), new Vector3f(0,1,0).crossLocal(lookAtObject).normalizeLocal(), lookAtObject);
    protected void simpleUpdate(){        cn.updateGeometricState(tpf,true);        Camera c=display.getRenderer().getCamera();        Vector3f objectCenter=((BoundingSphere)rootNode.getWorldBound()).center;        Vector3f lookAtObject=new Vector3f(objectCenter).subtractLocal(c.getLocation());        c.setDirection(lookAtObject);        c.update();    }