World position of tracked ImageTarget's GameObject

0 votes
asked Oct 20, 2020 by secretchamberofiice (130 points)
I have GameObject (instantiated from ImageTarget prefab), which is active and tracked properly.

How to obtain in real time world position of this object? I see their movements on screen, but transform.position of this object always equals to zero coordinates.

1 Answer

0 votes
answered Nov 9, 2020 by kenn (18,790 points)
The image tracking feature only captures the relative movement of the camera and the image target. So when the camera moves around the target (which is set by default), the target will not move. If you want the image target move, try set center mode to camera, but you have to understand that in this case, the movement only represents the relative movement but not real world position change.
Welcome to EasyAR SDK Q&A, where you can ask questions and receive answers from other members of the community.
...