Hi,guys,I am a AR Lover.
Sincerely i am new to vuforia,I develop my IOS AR APPS with Unity,and there's got some problems.
When the camera got the imagetarget,it will show a button on the right top of it!
We press the button and it will start the animation that was hidden at the beginning.
Or we point at the IOS screen and choose the imagetarget,and it will show a object on it,just like the Dominoes Sample!
For i am not good at Unity,and those are the codes for me to find which imagetarget i have pressed!
private ImageTargetBehaviour PickImageTarget(Vector3 screenPoint)
ImageTargetBehaviour imagetargets = (ImageTargetBehaviour)FindObjectsOfType(typeof(ImageTargetBehaviour));
Ray ray = Camera.main.ScreenPointToRay(screenPoint);
RaycastHit hit = new RaycastHit();
foreach(ImageTargetBehaviour imagetarget in imagetargets)
str = imagetarget.transform.name.ToString();
Touch3DPoint = hit.transform.worldToLocalMatrix.MultiplyPoint( hit.point );
Touch3DRotation = hit.transform.rotation;
str = hit.transform.name.ToString();