Topic locked

How to change the dataset / activate another model target in runtime?

October 27, 2021 - 11:03pm #1

Unity: 2020

Vuforia: 10.2

Hello,

I have prepared three Model Targets for tracking and I would like to track one by one in runtime. I had already applied the Vuforia Core Sample, but I still don't know the application of those functions. Therefore, how can I change the dataset in runtime?

Thank You!

How to change the dataset / activate another model target in runtime?

October 28, 2021 - 4:05am #2

Hey there,

 

I suggest checking the lifecycle of Vuforia Engine in Unity article. There's a topic 'Create an Observer' which shows how you can use your dataset files to create targets during runtime. 

Here's another article that is related to creating image targets at runtime, but the same principle can be used for any target using the observer factory: https://library.vuforia.com/objects/create-and-load-targets-unity

I hope that helps a little! 

 

Kind regards,

Patrick Scheper

Technical Community Manager

Topic locked