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.

Keep follow target always in view

Discussion in 'Cinemachine' started by ThisIsAUser, May 12, 2022.

  1. ThisIsAUser

    ThisIsAUser

    Joined:
    Oct 12, 2018
    Posts:
    15
    After the free look camera and the 3rd person camera do not achieve the desired result I wanted to ask here what I have to modify so that the camera "rotates behind the follow target" when the look-at target is behind the follow target.
    The follow target should always remain in view.
    Currently, the camera simply rotates on the Y axis so that the follow target is simply no longer visible.
    The target is similar to the camera used in Dark Souls when the camera is locked on an enemy (attached image).
     

    Attached Files:

  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    6,010
    Try putting FramingTransposer in Body and Composer in Aim.
     
unityunity