Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

State-Driven Camera doesn't properly monitor children's priority

Discussion in 'Cinemachine' started by abdosaher, Nov 14, 2018.

  1. abdosaher

    abdosaher

    Joined:
    Oct 15, 2012
    Posts:
    14
    "State-Driven Camera has a list that assigns child Virtual Cameras to animation states. You can specify more than one Virtual Camera per state. In this case, State-Driven camera chooses the child Virtual Camera with the highest priority."

    I'm not sure if this is a bug or maybe I'm missing something? But as you can see in the attached picture, the State-Driven Camera doesn't switch to the higher priority camera. Is there anyway to fix this? Thanks!

    PS: I'm using Unity 2018.3.0b8 and Cinemachine 2.2.7.

    Untitled.jpg
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,658
    In fact this is an error in the documentation. It's not recommended to have more than one vcam mapped to the same state. Sorry for the confusion, we will fix the doc.
     
  3. abdosaher

    abdosaher

    Joined:
    Oct 15, 2012
    Posts:
    14
    No worries, thanks for clearing that up.