"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

Custom Object placer on ground plane

 I am trying to build an application using Unity for Android. It uses Vuforia (set to digital eyewear mode) and ARCore for ground plane detection.

The goal is to place some object at a location on the ground plane based on some event other than touch (like voice command).

I saw that in the samples shown in website, AnchorInputListener performs the screen coord calculation and call PlaneFinderBehavior. Since I don't have a touch event, I tried manually calling the PlaneFinderBehavior.OnInteractiveHitTest with a valid screenpos. It places the model on the ground plane, but the position is not stable (the model moves when I move the camera). If I touch the screen, then the model is placed but remains fairly stationary even when I move the camera. 

Am I doing something wrong, or is there a better way to manually place some object on the ground plane? Also, can the object to be placed be instantiated at runtime based on a prefab?

Attached is my setup of PlaneFinderBehavior.

Thanks for the help!

Anantha

 

 

 

Hello,

Device compatibility with Ground Plane features is limited, and at this time does not extend to see-through eyewear devices (aka Digital Eyewear).

Here are the devices supported by Vuforia Fusion:

Hi,

Thanks for your reply!

I am using a Samsung Galaxy S9+ running Android 8. We use Digital Eye wear mode only to render the scene. 

Attachment