Answer the question
In order to leave comments, you need to log in
How to change scene to another in three.js?
There is a scene with a planet, how to make it so that when you click on the planet, the scene and objects on it completely change?
Answer the question
In order to leave comments, you need to log in
Here's a little scene manager bkcore.com/blog/3d/webgl-three-js-extension-render... .
The demo there seems to be outdated and did not start for me, but if you download and replace Three.js with a new one, it works.
How to handle clicks, see for example here threejs.org/examples/#webgl_interactive_draggablecubes , where the mousedown event is used.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question