Search Unity

Question Target Group with Framing Transposer not centering properly

Discussion in 'Cinemachine' started by wedgiebee, Feb 25, 2021.

  1. wedgiebee

    wedgiebee

    Joined:
    Aug 9, 2016
    Posts:
    40
    I'm using a vcam with the follow target set to a TargetGroup and the look at set to nothing. The body mode is set to Framing Transposer.

    I was hoping this would always A) keep my targets in view, and B) center them as best as possible. However, it looks like it's actually centering the world space average between my targets, which, because I'm using a perspective camera that is tilted, leads to the targets not actually being centered in screen space. Since Cinemachine is all about composition, I was expecting TargetGroup functionality to focus on creating a nice centered shot in screen space. Is there some built-in functionality that I'm missing, and if not is this functionality in the works?

    (Also: Would like to do this without using aim to change camera rotation!)

    cinemachineTargetGroup.jpg
     
  2. PepePm

    PepePm

    Joined:
    Feb 16, 2020
    Posts:
    3
    Hi I have this problem too. Did you solve it?
     
  3. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,724
    What version of CM are you using?
     
  4. PepePm

    PepePm

    Joined:
    Feb 16, 2020
    Posts:
    3
    Cinemachine 2.6.10
    Unity 2020.3.40f1
     
  5. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,724
    Please upgrade your Cinemachine to the latest 2.9.7 and tell me if that fixes the problem.
     
    wedgiebee likes this.
  6. PepePm

    PepePm

    Joined:
    Feb 16, 2020
    Posts:
    3
    It works!! Thank you very much!
     
    wedgiebee and Gregoryl like this.
  7. wedgiebee

    wedgiebee

    Joined:
    Aug 9, 2016
    Posts:
    40
    Omg! Sweet! Can't wait to check out the fix :D
     
    PepePm likes this.