Search code examples
unity-game-enginevuforia

Add Vuforia Model Targets at runtime


I want to create an app on Magic Leap 2 using Unity and Vuforia, to detect model targets. Is there any way for the user to upload and create a new model target from within the app? Or are all the model targets predefined in the build, and created through Vuforia's model target generator?

I searched through the documentation, and it seems that only Image Targets can be added in runtime.


Solution

  • You can create a Model Target via this Web API https://developer.vuforia.com/library/web-api/model-target-web-api

    Then it is possible to load it and use it at runtime via the standard Engine API as explained here https://developer.vuforia.com/library/unity-extension/create-and-load-targets-unity