Search Unity

Camera Through Walls.

Discussion in 'Cinemachine' started by Ray2016, Jul 6, 2017.

  1. Ray2016

    Ray2016

    Joined:
    Sep 13, 2016
    Posts:
    7
    Anyone have any tips or suggestions for keeping a CM vcam from going through a wall? I have set up a camera toogle that works beautifully for first person pov, birdseye and over head... however, one that is attached to character (overhead) and is positioned a few units behind him bleeds into wall if the character approaches and turns.

    Any tips would be great. Thank you.
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,711
    Try adding a CinemachineCollider component onto the vcam