Log in or register to post comments

Multiple tracked objects in Unity/Vuforia

April 20, 2015 - 7:14pm #1

Hello,

How does one go about having multiple ImageTargets connected to different objects

in the Unity hierarchy that move independently?

 

I have successfully made a scene with two ImageTargets, and each works, but only

one at a time -- once one target is grabbed, then it takes over until it is off the screen,

and then the other target will begin operating -- and all the objects in the world jump

to the new target's location.  I would like some objects to be linked to one target, and

other objects linked to the other target.

 

(NOTE: ideally I would also like to have some objects tied to neither target, but I

may save that question for later.)

 

    Thank you,

   Bill

 

Multiple tracked objects in Unity/Vuforia

February 13, 2019 - 11:29am #5

Hello,

There are two ways to adjust the number of simultaneously tracked Image Targets:

  1. In the Unity Editor: ImageTargets prefab->ARCamera->Open Vuforia Engine configuration->Max Simultaneously Tracked Images
  2. Via Vuforia APIs: https://library.vuforia.com/content/vuforia-library/en/reference/unity/classVuforia_1_1VuforiaConfiguration_1_1GenericVuforiaConfiguration.html#a4166fb9b79e7268dd7d19ad2b34e0044

Thanks,

Vuforia Engine Support

Multiple tracked objects in Unity/Vuforia

February 11, 2019 - 7:53pm #4

Hi!

 

I was trying to detect 3 target objects at the same time using unity. I have read some of the vuforia documentation indicating that only 2 targets can be detected simultaneously. Is there any workaround for this? When i try to detect 3 objects at the same time, only 2 objects are detected, the 3rd one is disregarded until one of the two previous targets are no longer visible to the camera

 

 

Multiple tracked objects in Unity/Vuforia

April 21, 2015 - 8:11pm #3

Great, thanks for the help.

Overall I'd done a lot of testing and things weren't happening as I expected.

In the end, I brought over a new "ARCamera" into the heirarchy and that one

behaved as I expected.  Oddly, going back and forth between the two ARCamera

objects didn't reveal any differences in the selected objects, but one worked the

way I hoped, and the other didn't.

 

    Thanks again for the help,

    Bill

 

Multiple tracked objects in Unity/Vuforia

April 20, 2015 - 8:16pm #2

Just set Max Simultaneous Tracked Images on your ARCamera to 2.  Then parent the appropiate objects to each image target and it should work.  Depending on what you are doing you may have to set World Center Mode as well.

 

 

Log in or register to post comments