By sahawnehwajdi
on Tue, 02/26/2019 - 09:44
Hey guys,
I'm trying to create a Vuforia app with 2 scenes: - Scene One: which requires the use of a positional tracker ("Track Device Pose" should be checked in Vuforia Configuration). - Scene Two: which requires the "Track Device Pose" to be unchecked in Vuforia Configuration.
I need to switch this flag depending on the scene i'm in using a C# script but Vuforia doesn't seem to have an open API for this sort of thing.
Any idea how to go about this?
Hey, i present the same
Hey, i present the same problem, could you solve it, tks
Hi,
Hi,
This should be achievable by below script:
var pdt = TrackerManager.Instance.GetTracker<PositionalDeviceTracker>();
pdt.Stop();
To start it again, use the Start() method.
Thank you.
Vuforia Engine Support
Hello there,
Hello there,
I used this script but it did not disable my device tracker. I wrote a script which has that line in start(). And put it to AR camera as a component.
Unity 2019.2.8f1
Vuforia 9.0.12
Hi,
Hi,
Did you ever manage to find out how to activate/deactivate the Device Tracker?
Thanks
Hi this worked fine for me
Hi this worked fine for me but since I updated to Vuforia 10.1 I got an error … can somebody please help … super noop, then namespace PositionalDeviceTracker could not be found ?