As it's shown at the image attached, I found an issue positioning instances of a Prefab on the go, scripting. I've made the Model Target with care about its scale and size in meters, as it's written in several places (I read a lot about this issue before opening this topic).
At the screenshot, pen's closer grey cube has been instantiated at the editor, before entering in Play Mode. It's in the right position, and always there. It doesn't move when I hit play (he's a friend :D).
Cubes in the air (top right corner in the image) should make a ring around the pen, but they didn't. They appear in a very different position than "they should": although I'm taking the center of the pen and the "editor's cube" as a reference, they change their position in every axis (Z as well).
Here come the questions:
- Where can I found the actual size and coordinates of my AR Model Object in "real time"?
- Do you have any link to an example of script-positioning for MT? (Un addition to this one: https://library.vuforia.com/content/vuforia-library/en/articles/Solution/Working-with-Vuforia-and-Unity.html)
I'm reading the documentation and find "sizes" in ModelTargetBehaviour Class, I'm trying several things, but I don't hit the nail on its head.
Thanks so much for your attention.