Hello. Im now learning vuforia multiple image targets and have some problems... I was place 2 targets on my scene and want to them interaction between themself when they nerby. For example first move to second. I use Vector3.Distance to calc how they far from each other and when distance less that some number move first object. Something like this void Update()
{
float distance = Vector3.Distance(point1.transform.position, point2.transform.position);
if (distance < 11)
iTween.MoveTo(point1, point2.transform.position, 2);
}`
But the problem is that when camera detect the second target, its placed in other coordinates (1st object in (0.0, 0.1, 0.0 like on scene, and second in (13.0, 7.0, 14.7)). How i can fix this? Need that object 2 will placed on one line with object 1.
Sorry for my bad eng, but I must to find the way to fix this.