Log in or register to post comments

Manually Stop Tracking specific Object Target (Unity)

December 23, 2019 - 5:17pm #1

How do I manually disable the object tracking for a specific target?

The Problem is that Vuforia only supports 2 object targets at the same time. If a third target is used, it will not be tracked until the tracking is lost for one of the other ones. I dont want to have to turn the camera somewhere else and back again to be able to track another object target, instead I want to press a button and let the tracking work out what objects to track from scratch for object targets only. Also, It is very misleading that you can change the number for simultaneous Tracked Objects to anything you want which ultimately has no effect.

Any Ideas?

Manually Stop Tracking specific Object Target (Unity)

January 7, 2020 - 3:07am #2

Hi,

One way that you could achieve this would be to reset the tracker, hence losing all the tracking information. The PlaneManager.cs script, from the Core sample apps, shows how to reset the trackers for PositionalDeviceTracker, same could be applied also to the ObjectTracker.

The above approach is raw and doesn't guaranty that the correct object is picked up when you have more than 2 objects in the camera view.

Thank you.

Vuforia Engine Support

Log in or register to post comments