Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice

Resolved FreeLook with lower priority ignores mouse movement

Discussion in 'Cinemachine' started by Yoshinori_Date, May 28, 2020.

  1. Yoshinori_Date

    Yoshinori_Date

    Joined:
    Dec 6, 2018
    Posts:
    2
    i have 2 FreeLook rigs (1 is further for combat) that looks and follows chest of the player character and i change them with priority through script, but the rig with lower priority look where it was before



    so the question is, how can i make it look where the camera is looking?
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    3,841
    Set this option on your FreeLooks:

    upload_2020-5-28_8-51-33.png

    Have you looked at the 3rdPersonWithAimMode sample scene? That scene shows an alternative way to create this kind of camera. You might like it better. Also the AimingRig sample scene. You may have to upgrade to CM 2.6 to see them.
     
  3. Yoshinori_Date

    Yoshinori_Date

    Joined:
    Dec 6, 2018
    Posts:
    2
    first of all thank you so much, it worked (i looked there multiple times, why i never noticed it?) about samples, they seem to do the same thing, but these sample anyway very useful for my future ideas (i had some problems already with lock on, so yeah, they definately gonna be useful)
     
    Gregoryl likes this.
unityunity