- Home /
nodal camera positions
I've gone through the existing questions, but have not found what I'm looking for. I'm working on an interactive application that has several camera positions. I want to animate the camera from position to position using buttons in the onscreen gui. The number of camera positions may change. Any help would be much appreciated.
Answer by yoyo · Mar 03, 2011 at 05:46 AM
You should be able to put multiple cameras in your scene and then use Camera.main.CopyFrom(myCustomCamera). Create multiple custom cameras and then associate each one with a different button.
I'm not 100% sure about using multiple cameras in the scene. I did something similar to what you want by creating a custom class to store the camera settings I was interested in, creating a list of instances of my custom class, and then copying the settings to the main camera to switch cameras.
Your answer
![](https://koobas.hobune.stream/wayback/20220613111008im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
How to lerp between cameras on a UI button click? 2 Answers
3D menu camera rotation issue. 0 Answers
[Solved]GUI button problem. 1 Answer
How to have Multiple Camera Positions with SmoothFollow.js ? 1 Answer
second camera renderWithShader 1 Answer