I’m trying to allow the object to remain in the scene even after the tracker is lost. I’ve already disabled the OnTrackingLost() function but it only remains in place if the camera is on it.
I had originally thought how Vuforia worked was that it took the tracker and set it to the ‘origin’ of the scene and objects were just moved around this virtual 3D space. Now it looks like the object(s) is redrawn constantly depending on the tracker’s relation to the AR Camera. So this led me down the road of using the camera’s accelerometer to determine its movement once the tracker is lost, to keep track of where it ‘should’ be.
Just thinking about this process though it seems like it won’t work very well and there will probably be some drifting even if I do manage to get the code right.
So my question is: is there a solution to this that I haven’t thought of or am I out of luck? Is there a way to create a virtual 3D space using the tracker as the origin so that objects can move freely in it instead of relying on the tracker itself?