Search Unity

  1. The 2022.1 beta is now available for testing. To find out what's new, have a look at our 2022.1 beta blog post.
    Dismiss Notice

Resolved Cinemachine TopRig, MiddleRig, BottomRig LookAtOverride access via script (Fixed)

Discussion in 'Cinemachine' started by Kadae, Apr 11, 2021.

  1. Kadae

    Kadae

    Joined:
    Dec 7, 2013
    Posts:
    42
    How to access FreeLook camera's Rigs "Look At Override" with scripts?

    upload_2021-4-11_20-6-32.png
     
  2. Kadae

    Kadae

    Joined:
    Dec 7, 2013
    Posts:
    42
    Ok, I found it.

    myCam.GetRig(0).m_LookAt...
    myCam.GetRig(1).m_LookAt...
    myCam.GetRig(2).m_LookAt...

    Absolutely F***ing undocumented thing.
     
unityunity