Hi! I got lists with ARTrackedImages from ARTrackedImageManager.trackedImagesChanged event and I want to place custom object on that image “plane”. I tried to use position, rotation, localScale, size, extents of this objects, but really changes only position. I noticed that ARTrackable has sessionRelativeData field with type of
XRTrackedImage that has Pose object, but sessionRelativeData is proteceted. What should I use to get tracked images rotation and size relative to ar camera?
That is the correct thing to do, and it’s what we use in the sample script. You’re saying this does not work for you?
Edit: Fixed link to sample code.
Oh, I found out the problem. I prepared my objects as 2d in XY dimensions, example uses XZ. Thank for help.
How to get access to okta?
Sorry, that link was incorrect. The sample script discussed is here.
Hey, how can i track 2 or 3 objects? I assume that i have reset AR Session and add another image library and tracked object, but it doesnt work for me. Pls help!