Log in or register to post comments

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

March 13, 2019 - 10:21am #1

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.

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

March 13, 2019 - 3:19pm #2

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,

Vuforia Engine Support

 

Log in or register to post comments