"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

How do I give the user a warning if Ground Plane fails to find a plane?

Hello,

 

The set-up is simple:

 

User points their phone somewhere to find a plane. Plane for whichever reason, does not appear after a predetermined amount of time. Display a modal instructing the user to find a more suitable environment.

 

The solution seemed to be straightforward, too. Just start a timer, and if an automatic hit test is never registered for a predetermined amount of time, display the modal. This, however, never occurs. 

 

 

Can you suggest an alternate method, or give me a pointer why my current approach doesn't work?

 

 

Thank you.

Hello,

For an alternative approach, see the script GroundPlaneUI.cs in the Vuforia Core samples on the Unity Asset store. In it, a reticle is changed to an augmentation based upon the results of the Ground Plane hit test and the tracking quality.

Thanks,