Log in or register to post comments

Sound on object load and detection

October 11, 2019 - 1:31pm #1

Hi all,

I am currently trying to figure out the best practice to get a sound file to play when the image target is tracked and the model spawns. Does the API have a boolean method that detects when the object has been loaded? I haven't been able to find one as of yet. 

 

-Emmanuel

Sound on object load and detection

October 17, 2019 - 10:33am #3

Thank you! Is there any example code that illustrates this apart from the core sample app? I'm a little confused as to how to use the data provided.

Sound on object load and detection

October 16, 2019 - 4:07am #2

Hi,

TrackableBehaviour provides information on the tracking status.

https://library.vuforia.com/content/vuforia-library/en/reference/unity/classVuforia_1_1TrackableBehaviour.html

For example in our core sample apps, 3 - ImageTarget we use the StatusInfo to provide information in the console about the ImageTarget. I would suggest to try using this for sound triggers. However you would need to test, to see what fits your need.

Thank you.

Vuforia Engine Support

 

Log in or register to post comments