Resetting AR on Tracking Lost UNITY SDK 3

0 votes
asked Jan 7, 2020 by derbyquad (270 points)

I'm building experience using AR-enabled drawing sheets. The frame of the sheet serves as a marker that when detected, captures a screen grab and applies to a prefab. I've got this all set up but at the moment I can only do this once. I am looking for a way to reset the AR in the scene when the sheet/image target is removed or a button is pressed, so the next sheet placed down will trigger the AR again.

Any suggestions on how to reset all the AR elements in the scene so it is fresh? I can't reload the scene as there are other elements in play.

Many thanks,


1 Answer

0 votes
answered Jan 16, 2020 by kenn (18,750 points)
What do you mean by reset? What you described looks like changing a target, which can be found in the samples.
commented Jan 18, 2020 by holmesc123 (230 points)
i think what Darius said is, he want to reset the drawing that apply to the AR object.
as far as i know, the attribute of the object stays the same way unless we close the app and reopen the app again. So he is seeking a suggestions on how to reset the object after lost track of the marker and found again.
commented Jan 20, 2020 by kenn (18,750 points)
Like the answer in, EasyAR Sense Unity Plugin generally does nothing more than controlling a few gameobjects (in the 3d point of view). The other parts of the 3D scene is always untouched and the question turns to a general Unity operation.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.