Log in or register to post comments

How to tell if a new ground plane has been generated

March 5, 2019 - 1:48am #4

Is there a way to tell if a new ground plane has been generated, i.e, the user has moved somewhere far away? Or, is no longer looking at it?

How to tell if a new ground plane has been generated

March 6, 2019 - 5:09pm #3

Hello,

My understanding of the feature is that multiple planes may be detected, but only one will be used for tracking once an anchor is created: https://library.vuforia.com/content/vuforia-library/en/articles/Training/ground-plane-guide.html

Vuforia Engine SDK provides APIs to monitor the state of the positional device tracker: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/tracking-state.html

Thanks,

Vuforia Engine Support

How to tell if a new ground plane has been generated

March 8, 2019 - 4:40am #2

Hi Medabit, I can't seem to find 'DeviceTrackableResult' included with the Vuforia plugin. Do you have a snippet for how to call this to find out the tracking state and quantity? 

How to tell if a new ground plane has been generated

March 8, 2019 - 5:02pm #1

Hello @inayo,

Please refer to the following files in our Unity Core samples:

  • Assets/Common/Scripts/TrackableSettings.cs
  • Assets/SamplesResources/SceneAssets/GroundPlane/Scripts/GroundPlaneUI.cs
  • Assets/SamplesResources/SceneAssets/GroundPlane/Scripts/PlaneManager.cs

Unity APIs: https://library.vuforia.com/content/vuforia-library/en/reference/unity/classVuforia_1_1TrackableBehaviour.html

Thanks,

Vuforia Engine Support

Log in or register to post comments