Hi everybody,
I'm still working on my AR project, and today I've found a bug (I guess) when I set the AR Camera World Center to AUTO.
My scene contains 3 trackables, I scan them once, and then I would like to keep only one trackable on the scene, and so I disable the others.
The problem is when the world center is moving from the first trackable to the other one, I lost the scene orientation (10-20% of chance).
I joined a screenshot, that you can see clearly the issue. Green squares should be exactly where trackables are.
If you want more details, feel free to ask.
Thank you !
As you can see on this function, if you're not in the editor, it won't let you change the world center.
I just commented this lines to be able to change the world center. But, if you look deeper on this script, you can see that mWorldCenterMode is used only once, on Start function.
This is why I used directly "QCARManager.Instance.WorldCenter".
But the result is that everything is rotated, as I expected. There is a good reason if it's not allowed to change the world center by scripting while running the application.
I guess I found a solution, not a smart one, but :D
I let the configuration to AUTO world center, but I changed into the QCARManager script the part where "mTrackableFoundQueue" is filled.
I fill it once, and never clean it. By this way I do what I wanted, detect and track the first trackable on screen, and let the others only be "detected".
After some tests, I can conclude that's enough for me, right now.
Do you know when a new version of the API is planned? And which kind of features will be added? And do you plan to keep it free? Thanks :)