By monark
on Wed, 10/28/2015 - 15:07
Wasn't sure where to put this as I don't think it's specifically Android related but I am currently testing on Android.
I'm using the Unity plugin and I have everything setup and running with one small issue. Although I have lined up my model to sit right on top of the target that is being tracked when I view it in play mode or build and deploy it the model is off to the right of the marker by quite some distance. What would cause that to happen?
The frame marker I'm using is set to be at the origin to begin with.
Model offset from tracking marker
Ok the answer was to delete the test databases I'd put in the streaming assets folder. Not sure why, I guess if you are using frame markers you don't need your own database?
Model offset from tracking marker
Frame Markers do not need a database to work; the identifiable marker are in the range [0-511] and are embedded in Vuforia.
Model offset from tracking marker
Yes I hadn't realised that initially so I'd built a db for the marker myself, it was only when I started poking around in the samples that I found no database was needed.
Model offset from tracking marker
Anyway, glad to hear you solved the issue ;-)
Model offset from tracking marker
Ok I tried coming at this from a different angle and loaded up one of the test scenes that worked and then added my model to it. That all works lovely, so there is something different between starting a scene from scratch using a prefab and working with an existing working template.....