"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

How to enable and disable guideview through button

Hi all! I'm trying to implement a button to show a guideview of a model target, basically when the button is pressed a script attached to the model target with a function is called. The function is: 

public void GuideView()     {         modelTargetBehaviour.GuideViewMode = ModelTargetBehaviour.GuideViewDisplayMode.GuideView2D;

    }

Actually nothing is appearing on the screen, could it be that the canvas is hiding the guideview? Is there any solution?

thanks to all

Hi,

Check out the resolution here https://developer.vuforia.com/forum/model-targets/enable-disable-guide-view-mode

Riccardokhm

Wed, 07/01/2020 - 08:03

In reply to by mcotora

already checked that solutions, my doubt is regarding when implementing the switch between two model target. I'm using the default trackable event handler script on the first model target to make appear the second one but nothing is happening. I have attached a pic with my settings.

Hi,

this works for me...

You don't get any error messages?

Riccardokhm

Wed, 07/01/2020 - 08:13

In reply to by sebben

hi,

could you share your project to see how you made it?

thanks, 

riccardo

sebben

Wed, 07/01/2020 - 14:03

In reply to by Riccardokhm

Hi,

I made it exactly like you did. But you are trying to do some other things in your project as well. And if I get it right, I think it is not possible because you can't track 2 model target at once except you have an advanced model target dataset with more train objects.