Start a new topic

Can Tracker change WTO in Script?

Wikitude SDK : Professional Edition v9.2

Unity : 2019.4.4f


In the script, I would like to change the Tracker's Target Collection to another WTO file.


I tried changing TargetPath in Tracker.TargetCollectionResource, but only what was seen in the Inspector was changed, and the target perceived by the actual tracker remained unchanged.


            Tracker.TargetCollectionResource.TargetPath = "sorento_left.wto";
            Tracker.TargetCollectionResource.TargetPath = "sorento_right.wto";


How do I change the WTO file when I want to script it and recognize the target of the WTO file?