Is there a simple way to know if there’s something occluding an AR Object?
Everything works as expected but I want to stop updating some Anchors when Occlusion is active (as it seems to drift when occluded).
Is there a simple way to know if there’s something occluding an AR Object?
Everything works as expected but I want to stop updating some Anchors when Occlusion is active (as it seems to drift when occluded).
It might be easy to detect complete occlusion. I haven’t tested this but the first thing I would try is Renderer.OnBecameInvisible: Unity - Scripting API: Renderer.OnBecameInvisible()
It is not as easy to detect partial occlusion. This would likely require some custom work or a third-party solution depending on your requirements.
Thanks - will try it out!