"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

Keep model in world space when tracking is lost

Dears,

 

I work on an Android Unity app which implement Vuforia.

 

The concept :

In AR I recognize an object, I put over an animated 3D Model stuck on the real object.

 

I need that the 3D model stay stuck to the real object even if the tracking is lost.

 

I already check to :

- Set the tracking mode as POSITIONAL

- Set the device type to Handheld

- Set the world center mode to DEVICE

- Comment the OnTrackingLost() method

 

Currently the 3D object disappear when target is Lost or drift if we try to turn around in the room.

 

Do you have any advices please ?

 

Kind Regards,

MF

Hello,

I'm unclear on why you're using DEVICE as your world center mode.

World Center Mode defines which object in the scene will serve as the origin ( 0,0,0 ) of the scene's world space:

mfreville

Fri, 06/07/2019 - 08:57

In reply to by medabit

Hello,

 

I'm always stuck to this issue where the 3D model disappear or drift when we turn around the real object.

 

I will need to fix it in world space when it's detected.

 

Kind regards,

MF

medabit

Mon, 06/10/2019 - 17:51

In reply to by mfreville

Hello,

[quote=mfreville]

I'm always stuck to this issue where the 3D model disappear or drift when we turn around the real object.

[/quote]

mfreville

Tue, 06/11/2019 - 07:49

Hi,

The real object has been detected and the 3D model pop in the right way over it.

My question is about how to fix it in the world space once he is detected.

 

medabit

Tue, 06/11/2019 - 18:30

In reply to by mfreville

Hello,

One approach is to:

mfreville

Wed, 06/12/2019 - 15:51

In reply to by medabit

Hi,

 

Please do you have a snippet code on how to implement that ?

I don't know where to find the the world coordinates of the 3D model transform (I always have the local) and on how to disable tracking.

 

Regards,

MF

hello im working on a unity + vuforia project. The problem i am facing is that my augmented model is not staying in a fixed spot once it tracked the model target. with a sudden jerk it goes missing so how can i make it to stay in a fixed position

Hello @shiek,

This sounds like Vuforia Fusion is not enabled on your device, or your device does not support Fusion.

Please review the following articles and let us know if you have any additional questions: