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.

Cinemachine view collision disable

Discussion in 'Cinemachine' started by PegasiStudios, Jul 9, 2018.

  1. PegasiStudios

    PegasiStudios

    Joined:
    Dec 22, 2014
    Posts:
    26
    Is it possible to disable the view detection that moves the camera forward when an obstacle is in front of it?

    I have some colliders that have to be in front of the player at certain points, but the camera keeps detecting it as a wall and moves to the wall.

    I do want the camera to avoid actual wall collision when it actually touches a wall, but not when something comes in front of it.
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    6,579
    Yes, you can ignore obstacles based on layer or tag

    upload_2018-7-9_22-31-7.png