how do you start code when clicking run,
I’m trying to switch cameras on running the project, nobody else has asked it seems, this is the code i’m using renderer.render(scene, THREE.PerspectiveCamera) , It probably isn’t enough, but I just started the project.
Welcome to this forum.
Your question is rather vague and it is hard to understand what you want to achieve. The only code that you posted is definitely not enough - you have to use an instance of a camera, not a class of a camera.
Here is a small demo of a monitor. When you click on the button [Run], the camera starts to rotate around the monitor. I hope this demo could give you some clues.
Good luck with your project.
ok, so I have both the cameras, but I don’t know how to get the camera to switch when you go in to the Project tab and then hit Play
I don’t have [Project] tab and [Play] button when I use Three.js. Maybe you use some specific editor (like three.js editor) or a programming environment. I hope someone who uses the same tools as you could help you.
I use the web editor, it may be different from yours. Three.js/editor/
brb at like 8 ET
I am back guys