By tetraizor
on Mon, 01/31/2022 - 22:53
Hi, my question is very simple. I want to disable tracking when I found any object. I searched the internet but only ones I found are like this:
TrackerManager.Instance.GetTracker<ImageTracker>().Stop(); TrackerManager.Instance.GetTracker<ImageTracker>().Start();
But this is deprecated. Then I tried disabling ImageTracker objects with SetActive(false), but when I reactivate them, the last object I show to the camera activates with its renderer on and gets tracked itself.
So what should I do and how do I learn about this stuff? I searched everywhere and found nothing. Even in the API, there is no way of doing this. How should one learn about this stuff?
Hey there,
Hey there,
Do you only want to turn off the tracking of the recognized target, or do you want to pause Vuforia Engine entirely?
Kind regards,
Patrick Scheper
Technical Community Manager
I wanted to stop tracking an
I wanted to stop tracking an already recognized and on the screen target. Just disabling it does not work, as it starts tracked even without the image when I re-enable it.
Hey,
Hey,
I suggest disabling the Vuforia Behaviour instance:
VuforiaBehaviour.Instance.enabled = true / false;
Does that work?
Kind regards,
Patrick Scheper
Technical Community Manager