unity camera problem
I am having a problem with my unity main camera I have tried many things to fix it and I just cant figure it out. So basically I will have my camera set up just the way I want it but once I play the game on maximize view on play it completely changes the position of the camera if I play it with out max on view it will work. If I change the size of the game window the camera will change positions also I will add two picture of the problem one on max view the other not. Any help would be great. alt text
yes I have a code that switches positions around the board based on empty game objects transformers. I've also tried to create another camera an it does the same thing and I've tried creating a new project and another PC and the same thing happens.
var slot : int=0; var cameraPositions : GameObject[]; var $$anonymous$$ainCamera : GameObject;
function chooseCamera () { slot += 1; if (slot == 5) {
slot = 0; } $$anonymous$$ainCamera.transform.position = cameraPositions[slot].transform.position; $$anonymous$$ainCamera.transform.rotation = cameraPositions[slot].transform.rotation;
} function Start(){ }
Your answer
Follow this Question
Related Questions
How to disable mouse look in Unity 5? 2 Answers
How to I move a game object (e.g. camera) to the position I am looking from in scene view? 1 Answer
camera falling down when following player!! 1 Answer
Checking if canvas world space is visible in CenterEyeAnchor? 0 Answers
Rendering 2 different images in HMD for left and right eye using StreamVR 0 Answers