AR Core - Instantiated Object Moves With you

Hi guys.

I’m using AR Core Surface Tracking to create an AR portal effect. However, the instantiated objects “move” about 1m per 3-4m of my movement. I’m working on top of the HelloAR example from the SDK, so the AR controller code is the same, I’m only changing what is instantiated.

Keep in mind that the objects are large (max 3m height in real world), I placed them all inside an empty parent object (which is instantiated) and placed the parent inside an anchor.

Why does this happen? How can I fix it?

Thx in advance!

Managed to fix it myself. Turns out it was happening because I changed the camera’s coordinates. I reset them to (0,0,0) and it’s working a lot better.