- Sort Posts
- 9 replies
- Last post
How to check if ground plane is supported in run time?
For what it's worth, this thread seems to show the most promise until we get feedback from the dev team. https://forum.unity.com/threads/check-for-arkit-support.486316/
Yes, that's a good start but GroundPlane is not only ARKit but also ARCore and supported devices difference from those SDK supported devices, I know that I can write my routine and keep it up-to-date with GroundPlane supported devices but I wonder if Vuforia offers an integrated way to retrieve that information.
How to check if ground plane is supported in run time?
Hello all,
Sorry for the delayed response here.
The API for this is available in Vuforia 7.0.47 (available with Unity 2017.3.0p4).
The function call is this: PositionalDeviceTracker::init()
If this returns false, the device does not support Ground Plane. Here is the link to the PositionalTracker documentation for Unity.
Thanks,
Vuforia Support
How to check if ground plane is supported in run time?
There is no such method available for PositionalDeviceTracker
do you mean isActive() maybe?
How to check if ground plane is supported in run time?
Hi all, im usign this form to check if it´s compatible
using Vuforia;
private PositionalDeviceTracker positionalDeviceTracker;
void start()
positionalDeviceTracker = TrackerManager.Instance.GetTracker<PositionalDeviceTracker>();
}
bool isSupported (){
return (positionalDeviceTracker != null)
}
This return true if device is supported or false if not. Tell me if it works with you
How to check if ground plane is supported in run time?
How to check if ground plane is supported in run time?
For what it's worth, this thread seems to show the most promise until we get feedback from the dev team. https://forum.unity.com/threads/check-for-arkit-support.486316/
Yes, that's a good start but GroundPlane is not only ARKit but also ARCore and supported devices difference from those SDK supported devices, I know that I can write my routine and keep it up-to-date with GroundPlane supported devices but I wonder if Vuforia offers an integrated way to retrieve that information.
you are right. the feature is very usefull I we hope it'll be implemented in the very next update.
How to check if ground plane is supported in run time?
Hello,
The Vuforia 7.2 APIs currently do not have a specific API to check a device's Ground Plane compatibility.
I would suggested using the getActiveFusionProvider() to query the device's capabilities. If the device returns FUSION_PROVIDER_VUFORIA_VISION_ONLY, then it does not support Ground Plane. The caveat here is that an earlier call to setActiveFusionProvider() can mask the device's actual capabilities if they are set to new values.
You can find API documentation here: https://library.vuforia.com/getting-started/overview.html
Thanks,
Vuforia Engine Support
I came here searching for an answer to this as well, as I'm building an app for an international brand that will offer ARKit if possible but fall back to image recognition if not available.
For what it's worth, this thread seems to show the most promise until we get feedback from the dev team. https://forum.unity.com/threads/check-for-arkit-support.486316/