Search Unity

  1. Get all the Unite Berlin 2018 news on the blog.
    Dismiss Notice
  2. Unity 2018.2 has arrived! Read about it here.
    Dismiss Notice
  3. Improve your Unity skills with a certified instructor in a private, interactive classroom. Learn more.
    Dismiss Notice
  4. ARCore is out of developer preview! Read about it here.
    Dismiss Notice
  5. Magic Leap’s Lumin SDK Technical Preview for Unity lets you get started creating content for Magic Leap One™. Find more information on our blog!
    Dismiss Notice
  6. 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.

  1. Sendatsu_Yoshimitsu

    Sendatsu_Yoshimitsu

    Joined:
    May 19, 2014
    Posts:
    567
    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:
    382
    Change Aim to Hard Look At.
     
  3. Sendatsu_Yoshimitsu

    Sendatsu_Yoshimitsu

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