I'm trying to have multiple scenes in my react-three-renderer application, I have referred your code, and i'm able to render the scene correctly. However, The issue right now is when I click on another scene that particular object in the scene overlaps with the already existing scene's object. I have used dispose, and refs.remove but no luck. Kindly look into this
Expected Behaviour: " the container should dispose previous scene information when tried to clicking on the next scene."
Note: i'm calling the model data dynamically and i'm not using the switch because there are more models to be loaded.
I'm trying to have multiple scenes in my react-three-renderer application, I have referred your code, and i'm able to render the scene correctly. However, The issue right now is when I click on another scene that particular object in the scene overlaps with the already existing scene's object. I have used dispose, and refs.remove but no luck. Kindly look into this
Expected Behaviour: " the container should dispose previous scene information when tried to clicking on the next scene."
Note: i'm calling the model data dynamically and i'm not using the switch because there are more models to be loaded.
`