Log in or register to post comments

3D object(fbx) still on side of my phone

August 16, 2016 - 5:24pm #1

When my phone take image target then 3D object(fbx) is dancing..

But the problem is... when I remove the image target from camera... then... the object still on the side of my phone..

Is this some kind of bug ? I'm using unity 5.3.5 and vuforia 6 ( I guess so... downloaded yesterday )

What can I do ... to remove the 3D object completely.. when the image target is off..

Please help me... ASAP... please...

By the way .. sorry for my poor English...

3D object(fbx) still on side of my phone

August 23, 2016 - 10:42am #4

@antx - Thank you for supporting our community!

3D object(fbx) still on side of my phone

August 22, 2016 - 4:51pm #3

Thanks a lot..

I solved the problem.. It wasn't any programming issue.

I just had to attach object as a child of the imagetarget.

it was a real basic...

though... thanks a lot... it was a first reply on vuforia forum for my posting..

Although ... was a first posting.. haha

again... thanks a lot !!!

3D object(fbx) still on side of my phone

August 19, 2016 - 2:29am #2

On your ImageTarget gameObject you should have a component "DefaultTrackableEventHandler" (if your project is based on an example project). This script implements the ITrackableEventHandler interface which handles the (for your case) relevant events.(OnTrackableStateChanged).

This, depending on the new state, hides or shows your meshes by enabling/disabling the renderer and collider component of all child objects of your imageTarget gameObject.

At least the hiding does not seem to happen in your case. So this is where you have to look.

If you need more help you could post code or an inspector screenshot of your ImageTarget gameObject here.

 

 

Log in or register to post comments