"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

Remove 3D object when the camera is not on tracking

Hello, 

I'm new Vufuria Developper an di want to know how to remove an 3D object on the screen.

So, my problem is when my Object appear on my trackable target on the screen. I'm able to remove it when i'm not filmed the trackable, or something else that I filmed with my phone.??

Any issue?Image removed.

when the camera detects the image. there has to render the 3D object.

But when I'm not in front of the tag, my object stay on the screen.

In fact, it does not disappear once more it was displayed on the screen.

AlessandroB

Wed, 11/28/2012 - 13:27

Ok, I see (note, you should post Unity-related questions in the Unity section of this Forum, ...for next time).

Can you check what scripts are attached to your Image Target (or Frame Marker) game object ?

Normally you should have a script called DefaultTrackableEventHandler;

AlessandroB

Wed, 11/28/2012 - 16:13

That is good, but it is not sufficient; beside the ImageTargetBehaviour,

you also need to attach the DefaultTrackableEventHandler script (you can find it in the Qualcomm Augmented Reality folder), which ensures that objects are not rendered when the targte is not detected.