Log in or register to post comments

World boundaries of User Defined Target Image Target

May 16, 2013 - 3:54pm #1

Is it possible to determine where the image target ends and begins - for determinign where to place a wall (UDT image target) and floor? 

World boundaries of User Defined Target Image Target

May 17, 2013 - 10:49am #4

I guess the question is if it's possible to the tracked image in reality to match up with the ImageTarget for UDT which is always square in proportion (even if the device screen dimensions are not) 

World boundaries of User Defined Target Image Target

May 17, 2013 - 4:57am #3

This doesn't seem to help, as it just fetches the transform.localScale of the object. 

 

When using the UDT to track, even if the target is placed on the edge of the camera boundaries, there still appears to be gap between the floor and wall

World boundaries of User Defined Target Image Target

May 16, 2013 - 6:04pm #2

You can obtain the dimensions of the Trackable using the GetSize() method.

            IEnumerable<Trackable> trackables = mBuiltDataSet.GetTrackables();
            ImageTarget it;

            foreach (Trackable trackable in trackables){
				
	       it = (ImageTarget) trackable;
	       Debug.Log( it.GetSize() );
           }

 

Log in or register to post comments