Search Unity

How do I force the freelook camera to remain centered?

Discussion in 'Cinemachine' started by Sendatsu_Yoshimitsu, Jan 14, 2018.

  1. Sendatsu_Yoshimitsu

    Sendatsu_Yoshimitsu

    Joined:
    May 19, 2014
    Posts:
    691
    I tried setting up a third-person camera by copying the component settings from the freelook example onto my virtual camera and setting the view/follow targets to components on my own model. It works, but there's an open rectangle in the center of the viewport, and the camera won't adjust itself unless the look target leaves that rectangle:



    I've tried playing with nearly every setting on the virtual camera, but I can't find anything tied to that rectangle; what setting do I need to change in order to eliminate it, and force the camera to keep the player's model perfectly centered in the viewport?
     
  2. JakubSmaga

    JakubSmaga

    Joined:
    Aug 5, 2015
    Posts:
    417
    Change Aim to Hard Look At.
     
  3. Sendatsu_Yoshimitsu

    Sendatsu_Yoshimitsu

    Joined:
    May 19, 2014
    Posts:
    691
    That fixed it, thank you! Sorry for asking a really obvious question :)