I have multiple models in a scene which I currently control by placing them inside a function and calling the function when I want to load them.
I'd like to have dat.gui add or remove the object based on a checkbox.
I've successfully loaded the object using dat.gui, but I can't figure out how to remove it (using the same checkbox).
I know I can remove the object using a scene.delete(object) or similar but I don't know how to tie this all into a single checkbox.