code: public void showNavMesh(boolean enabled) {
          if (enabled) {
              if (geoNavMesh == null) {
                  Geometry debugNavMesh = (Geometry) logicalEntities
                          .getChild("NavMesh");
                  this.geoNavMesh = SpatialFactory.createShape("NavMesh",
                          debugNavMesh.getMesh(), ColorRGBA.Green);
                  this.geoNavMesh.setLocalTranslation(this.geoNavMesh
                          .getLocalTranslation());
              }
              house.attachChild(geoNavMesh);
          } else if (geoNavMesh != null) {
              geoNavMesh.removeFromParent();
          }
      }
docs: /*
  public void switchLights(String roomName, boolean on) { for(Light l:
  getLights(roomName)) { if(on) { rootNode.getLocalLightList(). } } }