Search Unity

  1. Megacity Metro Demo now available. Download now.
    Dismiss Notice
  2. Unity support for visionOS is now available. Learn more in our blog post.
    Dismiss Notice

Question Cinemachine deoccluder raycast radius

Discussion in 'Cinemachine' started by Onigiri, Jan 12, 2023.

  1. Onigiri

    Onigiri

    Joined:
    Aug 10, 2014
    Posts:
    469
    Is there a way to add thickness to deoccluder raycast(use spherecast instead) so camera can deocclude before obstacle takes half of the screen?
     
  2. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856
    Have you tried the Camera Radius option?
    DeoccluderCameraRadius.png
     
  3. Onigiri

    Onigiri

    Joined:
    Aug 10, 2014
    Posts:
    469
    upload_2023-1-16_17-46-53.png
    Still the same. I want camera to start deocclusion when wall is roughly 1/3 of the screen not when it's half. Camera radius wont help in this case.
     
  4. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856
    What version of Cinemachine are you using?
     
  5. Onigiri

    Onigiri

    Joined:
    Aug 10, 2014
    Posts:
    469
    3.0.0-pre.3
     
  6. gaborkb

    gaborkb

    Unity Technologies

    Joined:
    Nov 7, 2019
    Posts:
    856
    The radius will work in the next pre-release.
     
  7. Onigiri

    Onigiri

    Joined:
    Aug 10, 2014
    Posts:
    469
    Thanks