Thanks @drcmda this is really really good stuff. The problem Im currently struggling with is dynamically adding or “mounting” an object to a scene from a list that exists outside of that scene. I’ve got a few theories in my head but im unsure of the correct way to go about it.
Theory 1: Separate portals exist within a collapsable menu. On expansion the user can click and drag an object from the portal to the scene through the use of clipping? or maybe using an onclick function to create a clone or instance of the object.
Theory 2. The Menu component contains a list of objects with ID’s upon clicking and dragging and instance of said object is created within the scene.
I didn’t want the menu to necessarily be a part of the scene because I figured loading all of the x amount of objects within the scene would be too much. idk…
I’ve also recently discovered Tunnel-Rat which I suspect may be able to help here.
Essentially what I want to be able to do is in this post:
Adding Model Dynamically rendering it twice? - Questions - three.js forum (threejs.org)
But I need to be able to do it in R3F. Could you possibly point me in the right direction here theory wise, or if theres an example that you know of send it my way? Thanks dude.