By friendbaby
on Tue, 12/24/2019 - 10:00
Hello,
I want to restart find and tracker at runtime, rather than reloading the scene,how to do ?
I tested the following code , but it looks like it's still affected by the last tracker.
ObjectTracker tracker = Vuforia.TrackerManager.Instance.GetTracker<ObjectTracker>();
tracker.Stop();
foreach (DataSet ds in tracker.GetDataSets()) { tracker.DeactivateDataSet(ds); tracker.ActivateDataSet(ds); }
tracker.Start();
How to restart find and tracker in runtime?
Hi,
Hi,
The approach seems to be correct one. Another thing to consider if you have extended tracking activated in the scene, this might affect and could be the culprit.