"We offer new support options and therefor the forums are now in read-only mode! Please check out our Support Center for more information." - Vuforia Engine Team

OnTrackingFound Event

Hi guys !

I'm really noob at C# but i would like to know how to do if i want to start/stop animation when target found/lost ?

For my project i want to start an animation of an animated 3D object when target found, and stop when target is lost, and then resume when found again.

 

I have seen something similar here (but with ARKIT) :

https://www.youtube.com/watch?v=LX8BFFFWtFw

 

Thanks for help :)

Replace DefaultTrackableEventHandler.cs on your image targets with something like this.  Add your own code for stopping/starting to the methods
 

Did you manage to get results, I am struggling to put the c# in the handler caus im also noob at this lol

 

i tried

 

animator anim;

 

then in the method i wrote

 

anim.Play;