Search Unity

Can a Clearshot camera check for multiple targets?

Discussion in 'Cinemachine' started by popMark, Oct 18, 2021.

  1. popMark

    popMark

    Joined:
    Apr 14, 2013
    Posts:
    114
    Hi,

    I have have a few fixed vcams under a clearshot camera and I want to switch between them when 2 targets are hidden by collision geometry, but so far I've only managed to get it switching based on if a single target is hidden.

    Is there a way to make the clearshot do raycasts against multiple targets?
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,720
    Unfortunately not. You'll have to cook this one up yourself.
     
    popMark likes this.