I have a model target setup which works fine tracking-wise, but when I move the device I get this weird floating effect, kind of looks like an extra transform applied to the mesh, almost as if it wanted to stick to the center of the device like if AR was not enabled.
You can see a video of the issue here: https://drive.google.com/open?id=1B3yp2Urr2EaAY0I9QC6-iff-3pv72aVo
This is using Unity 2019.1.4f, with Vuforia 8.3.8 (before I was using Unity's built-in 8.1.0 version and still having the same issue, tried updating but with no success) on a iPad mini 2019 (tried an iPad pro as well, no luck)
Things I've already tried and didn't make a difference:
- Ensure the device's positional tracking is on
- Tested with both trained and non-trained targets
- Tested on different orientations
- Tested on different platforms (same issues appear using a webcam on a Windows machine)
- Updating to the last Unity version (2019.1.14f)
Any help would be appreciated. I did use model targets in a different project in the past using Vuforia 7.x and Unity 2018 (downgrading is not an option as I require some 2019-exclusive features) so I know how they should work and this definitely looks like some low-level issue rather than bad tracking.
Thanks!
Hi,
Vuforia needs to know the real-world size of the object it is tracking, therefore for tracking a scaled model (smaller or bigger than the actual model), a different size needs to be used for tracking a different sized object.
You can change the size of the target at runtime after loading the dataset using setSize().
Therefore, you don’t need to generate different datasets for different sizes. Note that this only influences how extended tracking works on supported devices.
Thank you.
Vuforia Engine Support