Hey, so I want my virtual camera to zoom out when it activates an is trigger on a game object but I do not know how? I have tried to change my camera’s orthographic size but it doesn’t seem to work. Thank you in advance for helping
You have to change the ortho size in the vcam, not in the main camera. Use vcam.m_Lens.OrthographicSize = bla;
Please paste your script here. I can’t help you without context. On what line does the error occur?
Press this button to insert code in your forum post, so that it gets formatted properly:
Ooh, I just solved the issue. I forgot to drag my virtual camera into my public variable. But now I have another question (sorry if I am asking too much). is there a way to make the transition from my default view to my zoomed out view smooth, like if you were actually zooming out on something in real life
Make 2 vcams: one for the default view, and one for the zoomed view. When you want to zoom, activate the zoom vcam, and the CM Brain will automatically blend.
