Log in or register to post comments

Play different videos for different targets scanned

February 10, 2020 - 4:31am #1

I am using Vuforia for Unity and I would like to know how to make it so that when I scan one target it plays one video, and then when I go to scan another target, it play a different video?

 

Any help would be kindly appreciated!

Play different videos for different targets scanned

February 10, 2020 - 6:31am #2

Hi,

In the Unity Core Sample app, under the Image Target scene we demo that behavior however only with 1 ImageTarget.

My advise would be to install the Core Sample app available via Assetstore in Unity and start from there.

Please note the the VideoPlayback start and stop is controlled by the function OnTrackingLost() and OnTrackingFound() available in ITrackableEventHandler.cs

Thank you.

Vuforia Engine Support

Log in or register to post comments