Log in or register to post comments

Multiple Behaviour Type on the same scene

July 29, 2020 - 8:43am #1

Hi,

 

Is it possible to have multiple Behaviour Type  (example : ImageTargetBehaviour and ModelTargetBehaviour) on the same scene ?

If yes, is it possible to switch between the two type (multiple times) on runtime ?

 

Thanks,

Multiple Behaviour Type on the same scene

August 13, 2020 - 1:23am #3

Hi,

 

I'm developping an application for HoloLens 2 where I use Image target or Model Target to place an object then disable vuforia (as recommended for HoloLens in documentation)

I want the user to be able to relaunch any type of detection at any moment.

Example :

- At the application start, the user place object with an Image Target

- Later, the user use the Model target to change object position

- Finally the user do a placement with ImageTarget

Perhaps I'm doing it wrong, but when I want to launch a second ImageTarget recognition vuforia behave like it's already found the target and don't even try to rescan environement.

If the physical image have moved, I'm stuck...

I've tried many solution found on the forums (desactivating/reactivating vuforia instance, objecttracker and other trackers) but the only solution I found is to to make a backup of the Datasets, delete the originals in the object tracker, then reload and reactivating them when launching an Image Target scan.

For Model Target, i'm forced to make a backup of the GameObject with the ModelTargetBehaviour and reinstantiate it when needed.

On either case, when I try to launch a different type of vuforia behaviour, the camera activate, when vuforia found a target, I see in the editor that something have been detected (the gameobject with behaviour seems to move to detection) but no events fired at all. With ModelTarget the GuideView don't appear in this case.

 

Thanks,

Multiple Behaviour Type on the same scene

August 7, 2020 - 1:09am #2

Hi,

Yes, you can use multiple Vuforia features concurrently in the same scene.

Could you please provide more details on the last question, what are your trying to achieve? Do you want to have only 1 feature active in a give scene?

Thank you.

Vuforia Engine Support

Log in or register to post comments