Log in or register to post comments

Tracking Problem - Animaton start before the image target found.

October 8, 2015 - 10:48am #1

I have cube animation at the imagetarget. I added animation component to cube object and unchecked "Play Automatically" .

Than i added play animation code below ontrackingfound in the defaulttrackableeventhandler.cs.

When i start app my cube animaton, animation start before the image target found.

My Unity version 5.1 and Vuforia 5

Thanks

Tracking Problem - Animaton start before the image target found.

March 25, 2019 - 11:37am #6

I had the same problem today but was able to fixed it by coding in the default trackable event handler(script) that when the image target is tracked then only the video will start playing. Similarly the video will be paused when it will loose track.

 

AttachmentSize
Image icon videoPlay.PNG150.05 KB

Tracking Problem - Animaton start before the image target found.

May 27, 2018 - 11:43pm #5

Android Issue explanation: a blank screen appears for a few moments (it's usually less than half a second), after the target was detected

When?: right after a target is detected, and the video is right about to start (PLAYING state)

Tracking Problem - Animaton start before the image target found.

May 23, 2018 - 11:19am #4

I'm in the same boat, I cannot get my video to delay start until the TrackableEventHandler tracks the target. It starts when entering Play Mode.

I tried to link the DefaultTrackableEventHandler.cs and VideoController.cs classes and made changes to the OnTrackableStateChanged() method, but did not get a result.

I believe in the newer versions of Unity, the AutoPlay feature does not exist anymore, so modifying that isn't an option for me. Any help on this will be greatly appreciated. Thank you.

Tracking Problem - Animaton start before the image target found.

May 21, 2018 - 6:23am #3

Same Here i am having the same issue, my sound works perfectly fine, but my video starts playing even before the Target is found, and continues to play when the target is lost and then found again, does not Stop or restart on target lost and found.

Been trying to figure it out since last 3 days not luck, if anyone has been able to resolve this will be a great help.

 

 

Tracking Problem - Animaton start before the image target found.

February 19, 2018 - 8:00am #2

Hi,

I have the same problem - to simply put it: when adding animation to an object (a child of the image target)

the animation starts to run regardless the target acustion by the camera.

 

I simply wish to start the animation only when the target found and pause when target lost.

 

 - Does anyone have a simple solution for it? - all answers I found on the forums are old half parts solution that doesn't work.

 

Thanks.

Log in or register to post comments