Question by
sspeedy007 · Nov 12, 2021 at 09:58 AM ·
c#cameradistortionvisual problems
Camera distortion problem
Hi, i am working on a multiplayer fps (using photon 2 if that may be the part of the problem), and my camera started doing something... Wierd? When I created a child object to the camera, the cube, and scaled it to 0.1f, 0.1f, 1f. To be a placeholder for a gun, the camera started distorting the cube in a wierd way. The fov on the camera is 60 on vertical. Essentially, when I look up and down, the cube is being distorted along the y axis as well. I am certain its not to my code, since it is pretty simple, just a transform.Rotate for the x, and the transform.localEulerAngles for the y, and I think it is to the camera itself. Maybe it is because of the photon, or maybe it is because of the new version (2021.1)... Thanks in advance
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220613045305im_/https://answers.unity.com/themes/thub/images/avi.jpg)