AR Foundation - Image Tracking: Placed object continues to update rotation

I seem to be having an issue with image tracking using AR Foundation’s implementation of ARCore. I’m using a Galaxy S7 Edge for this test project.

Scenario:
Detect am image and instantiate an object (in this test case, a cube) at the center pose of the image. The image is static so there is no need for moving image detection. Once placed, the object stays in place and that’s it.

Outcome:
The instantiated object’s rotation is continuously being changed. It’s almost like AR Foundation/Core is losing sight of the image and having to figure out where it’s at again. To clarify a bit further, kind of feels like the object is attempting to rotate to face the camera. This also happens on the stock example code without changes.

If anyone can bring some insight into this it’d be much appreciated.

Hi CJ, I’m facing with the same issue it seems.

My first idea was to try to play with the Tracked Pose Driver Scriptas as you can see it in the description but in AR Foundation 3.0.1 it seems they removed this from ARSessionOrigin’s GameObject.

Have you found a solution?

Following…

TrackedPoseDriver is replaced with ARPoseDriver. Something like that.

Make sure the instantiated object’s rotation isn’t updated? Only position.

I am having the same issue. From what I have found this is not just limited to Image Tracking but if you just instantiate an object in space at the beginning of an AR session it starts to float away and change position as you move the camera.

1 Like

Thanks for the idea, this is something worth trying!

Same problem here, the object keep sliding and the rotation is always changing…

Hi @greddu9t we moved the object we instantiate to the world space - working so far.

Hi Fantastic_Balage could you please elaborate more, thanks

2 Likes