weard cam Behavior?!

Hey,
wen i make an object a child of the camera (So it will follow)
It does stretch out or something.
How can i fix this?!
Or is it a bug from Unity?!

I’m using version 5.5

Normally


how it now looks wen rotating up.

Script i’m using for camlook:

using UnityEngine;

public class Fp_Mouse_Look : MonoBehaviour
{

    Vector2 mouseLook;
    Vector2 smoothV;
    public float Sensitivity = 5.0f;
    public float Smoothing = 2.0f;

    GameObject Character;

    void Start()
    {
        Character = this.transform.parent.gameObject;
    }

    void Update()
    {
        var md = new Vector2(Input.GetAxisRaw("Mouse X"), Input.GetAxisRaw("Mouse Y"));

        md = Vector2.Scale(md, new Vector2(Sensitivity * Smoothing, Sensitivity * Smoothing));
        smoothV.x = Mathf.Lerp(smoothV.x, md.x, 1f / Smoothing);
        smoothV.y = Mathf.Lerp(smoothV.y, md.y, 1f / Smoothing);
        mouseLook += smoothV;

        transform.localRotation = Quaternion.AngleAxis(-mouseLook.y, Vector3.right);
        Character.transform.localRotation = Quaternion.AngleAxis(mouseLook.x, Character.transform.up);
    }
}

Is the issue that the cube is not at the bottom of the screen? I’m not really seeing any stretch effect from your screenshots.

If you take a closer look you can see the cube is completly out of form

On the screenshot down below you can see what i mean.

2962012--219909--2017-02-16_14h56_37.png

When you move the cam up, down, left, right manually do you notice this distortion? It looks like the expected result of FOV settings on your perspective camera.

That’s. … pretty strange lookin

hmm this are the settings i have on my cam.
And yes, i notice it when i rotate the camera from up and down not from moving left to right or reversed.

2962020--219911--2017-02-16_15h02_30.png

Yeah, that is what i thought to.
I did not have this before by making a gameobject a child of the cam.

What’s the scale of the cube when it’s a child object of the camera? Sometimes gameobjects will change scale if you make them children of another object.

Sorry that i’m late whith answering.
The scale where both cam and cube a size of 1

Sorry if this sounds dumb, but is the cube a child of the player as well? Or is it just that you’re looking at it in all of these screenshots?

player->Cam->Cube