Search Unity

Why are the aim zones (soft/hard) offset from the look at target?

Discussion in 'Cinemachine' started by jwvanderbeck, Sep 21, 2019.

  1. jwvanderbeck

    jwvanderbeck

    Joined:
    Dec 4, 2014
    Posts:
    592
    I have my look at target to be the center of a star. I can see this as the yellow box in the game view and it is in the correct spot. However the "zones" provided by the Aim section of the vcam are not centered on this like I would expect.

    I'm sure I'm either doing something wrong or misunderstanding something fundamental here but I'm not sure what it is.



     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    2,946
    What version of Cinemachine? (see Cinemachne menu/About)
     
  3. jwvanderbeck

    jwvanderbeck

    Joined:
    Dec 4, 2014
    Posts:
    592
    2.3.4 Just installed the package today with Unity 2019.2.6f1
     
  4. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    2,946
    Does the position of the guides change when you change the aspect ratio of the game view?
     
  5. jwvanderbeck

    jwvanderbeck

    Joined:
    Dec 4, 2014
    Posts:
    592
    Yes it appears to.

    16x9:


    5:4
     
  6. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    2,946
    Yes, it's a regression in 2.3.4. It's fixed for the upcoming version. Ignore the on-screen guides. Trust the inspector.

    You can use the on-screen guides if you adjust the aspect ratio until they look right, but be aware that they can be misleading if you then mess with the aspect.