By febo
on Sun, 05/17/2020 - 14:21
Hi all,
I'm using Vuforia inside a Unity scene.
My scene contains a root node, under which there are two children added at runtime.
The first is a canvas prefab containing all the UI of the app.
The second is a prefab containing the ImageTarget.
At runtime I also add some augmentations, which I place on the ImageTarget by calculating the position dynamically. I do not set these augmentations as children of ImageTarget, but magically they are rendered correctly and firmly anchored on the ImageTarget.
I checked ImageTarget children and augmentations parents at runtime with breakpoints in the code, and they are always 0 and null respectively.
Can someone explain me this strange behaviour?
Thank you
Fabio