I have targets that are verticle(hang on wall) and others which are horizontal (sit on table top) in the same scene.
I'm using vuforia version 2-9-13 examples because that was the stable version when I started the project. I'm using worldcentermode first target.
When I target a target on the table, then move to a target on the wall, the wall targets are basing off the horizontal target, not the one on the wall.
Is there a way to reset the "first target" each time a target is tracked? I tried using "specific target" and updating it at runtime but couldn't get it to work.
The QCARManager class has a property "WorldCenter" which should allow you to set the world center to the target you want (when WorldCenterMode is set to "Specific Target").
See API reference here:
https://developer.vuforia.com/resources/api/unity/class_q_c_a_r_manager
The API accepts a reference to a TrackableBehaviour object, which you can get at runtime, for instance by retrieving it from the StateManager, as explained here:
https://developer.vuforia.com/forum/faq/unity-how-do-i-get-list-active-trackables