Search Unity

  1. We've closed the job boards. If you're looking for work, or looking to hire check out Unity Connect. You can see more information here.
    Dismiss Notice
  2. Unity 2017.3 has arrived! Read about it here.
    Dismiss Notice
  3. Want to see the most recent patch releases? Take a peek at the patch release page.
    Dismiss Notice

How do I force the freelook camera to remain centered?

Discussion in 'Cinemachine' started by Sendatsu_Yoshimitsu, Jan 14, 2018 at 12:12 PM.

  1. Sendatsu_Yoshimitsu

    Sendatsu_Yoshimitsu

    Joined:
    May 19, 2014
    Posts:
    490
    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:

    [​IMG]

    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. JacobSmaga

    JacobSmaga

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

    Sendatsu_Yoshimitsu

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