Occlusion question

Include the following details (edit as applicable):

  • Issue category: Lightship Maps / Semantic Segmentation / Multiplayer / Real-time Mapping-Depth / ARDK Documentation / Unity Example Package / Sample App aka ‘AR Voyage’ / ARDK Virtual Studio Tools / Developer Tools / Networking / VPS / Scanning Framework
  • Device type & OS version: Android / iOS / Other Ex. iPhone 8+ on iOS 13
  • Host machine & OS version: Mac / Windows / Linux / Other Ex. Mac on Big Sur x.x
  • Issue Environment : Unity Remote / Unity Mock / On Device / Dev Portal
  • Xcode version:
  • ARDK version:
  • Unity version:

Description of the issue:
Hi! Can I somehow detect that ovject is hidden by occlusion (for example object is hidden by the wall by occlusion)?

Hi Andrey,

As occlusion is a feature also built into Unity by default, you can make use of traditional Unity functions to determine if an object is being occluded. Here’s a helpful Unity support thread with several different techniques you can try: http://discussions.unity.com/t/how-can-i-know-if-a-gameobject-is-seen-by-a-particular-camera/248/3

Kind Regards,
Maverick L.