Log in or register to post comments

Stop rendering models when marker is not recognized?

February 28, 2012 - 2:39pm #1

How can I stop rendering models (and sound) when the marker is out of scope (or not recognized)?

I want to give a message to the user, that he/she must find the marker to continue to play.

Is it an easy way to do this?

Thanks in Advance!

Re: Stop rendering models when marker is not recognized?

February 29, 2012 - 2:06pm #6

Yes, sorry about that, the 1.5 version should be in the Asset Store soon. We've submitted the packages and they are pending approval/processing by Unity.

- Kim

Re: Stop rendering models when marker is not recognized?

February 29, 2012 - 12:05am #5

I'm using the version from the unity store (not sure which version that is), I downloaded it last week.

In the readme file it says QCAR SDK v1.0.6. I'll download the latest version =) Thanks for your help!

Re: Stop rendering models when marker is not recognized?

February 28, 2012 - 11:02pm #4

which version of the Unity extension are you using?

Re: Stop rendering models when marker is not recognized?

February 28, 2012 - 10:13pm #3

I can't find any method of "OnTrackingLost" in ImageTargetBehavior or TurnOfFBehaviour script.
Do I have to make my own class with that method and implement it in my prefab?

Thanks again!

Re: Stop rendering models when marker is not recognized?

February 28, 2012 - 6:11pm #2

Yes. Take a look at the OnTrackingLost() method in the DefaultTrackableEventHandler script attached to the ImageTarget prefab.

This method will be called when the status of a trackable changes to indicate that it is no longer detected nor being tracked.

Log in or register to post comments