Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

Question How to ignore roll axis(rotate around z axis) when blending between 2 Vcam?

Discussion in 'Cinemachine' started by sctiendat, May 9, 2021.

  1. sctiendat

    sctiendat

    Joined:
    Mar 14, 2020
    Posts:
    22
    I have 2 Vcams. When the CM Brain is blending between 2 Vcams, I know that it will find the shortest path.
    And in my case, It rotates around z axis, but It isn't my wish. So I want to ignore roll axis(rotate around z axis) or set only use yall axis(rotate around Y axis) when blending between 2 Vcams.
    How can I do that? I can't find any solution. Thanks for reading!
    This is 2 Vcams and CM Brain:
    1.PNG 2.PNG 3.PNG
     
  2. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856
    Could you show us a recording of the issue? I don't understand why the blend would roll, if both vcams are set to No Roll.
     
    sctiendat likes this.
  3. sctiendat

    sctiendat

    Joined:
    Mar 14, 2020
    Posts:
    22
    Thank you @gaborkb, I had a solution for this. When I selected Transitions -> Blend Hit to Cylindrical Position, the camera moved correctly.
     
    gaborkb likes this.