By rafek
on Fri, 07/14/2017 - 10:01
I'm playing with Object recognition and I can't understand where coordinates (transform.position) of a target object come from.
Having my HoloLens on and looking at the object literally 40-50 cm in front of me, I'm getting transform.position of this object like {430, 318, 239} - arbitrary big values. What's more, they're totally different each time object's detected - I'm simply checking gameObject.transform.position inside OnTrackingFound.
How to properly get coordinates of a target object?
Thanks,