public void openDoors(Vector3f pos, boolean exitLevel){
        for(Door d : doors){
            if(d.getTransform().getTranslation().sub(pos).length() < OPEN_DISTANCE){
                d.open();
            }
        }

        if(exitLevel){
            for(Vector3f exit : exits){
                if(exit.sub(pos).length() < OPEN_DISTANCE)
                    Game.loadNextLevel();
            }
        }
    }