Unity-Technologies / arfoundation-samples

Example content for Unity projects based on AR Foundation
Other
3.03k stars 1.13k forks source link

Toggle Extended Reality in ARfoundation Image tracking? #709

Closed midopooler closed 3 years ago

midopooler commented 3 years ago

I have 2 image targets, and I want them to be detected one by one. but when my first image target goes out of frame, the prefab stays at the position which causes trouble when I want to get my second image detected. How do I disable the first prefab once the image isn't visible anymore to the camera?

https://stackoverflow.com/questions/61457300/how-to-display-different-prefabs-with-image-tracking-in-arfoundation-with-unity

tdmowrer commented 3 years ago

Please see https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.1/manual/tracked-image-manager.html#determining-when-an-image-is-visible

stale[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.