Search Unity

Question With Cinemachine Freelook, is it possible to make the rigs follow the target's rotation?

Discussion in 'Cinemachine' started by simgal, Sep 18, 2021.

  1. simgal

    simgal

    Joined:
    Sep 18, 2021
    Posts:
    2
    Hello,
    With Cinemachine Freelook, I would like to anchor the orbit's rotation to the target's rotation. The desired result is to roam around a very small planet with a character that has a 3rd person camera. Like if Outer Wilds would use a 3rd person camera instead of 1st person.
    Right now, I have a 3rd person camera that works perfectly fine (Using Orbit's binding mode as World Space):
    upload_2021-9-18_13-54-31.png
    But when I rotate the character, I get (Using Orbit's binding mode as World Space):
    upload_2021-9-18_13-55-38.png
    And I would like (Using Orbit's binding mode as Lock to Target):
    upload_2021-9-18_13-56-52.png
    Lock to Target is creating some issues but maybe it is the real way to do it.

    Any help would be greatly appreciated!
    Thanks!
     
  2. simgal

    simgal

    Joined:
    Sep 18, 2021
    Posts:
    2
    Alright, I did it.
    I've set the Binding Mode of Orbits as "Simple Follow With World Up". I added the CinemachineBrain component and placed the character in the World Up Override.
    upload_2021-9-19_10-50-21.png
     
  3. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,728
    You can see an example of this in the Cinemachine Samples: look at SphericalSurfaceFollow.