Currently i've a 3d object attached to the image target. On tracking lost, i've edited the vuforia tracker handler to still render the 3d object on screen even with the image target lost..
On tracking found, the 3d object will snapped back to the image target.
However i will like to have the 3d object lerp back to the image target position instead of it snapping back in an instant.
Is there any where to achieve this? I have tried to manipulate the ar camera but to no avail.
You can get the Image Target's position by calling "gameobject.transform.position" on any script attached to the Image Target game object. For example, in the Core Samples, you can access that field within the DefaultTrackableEventHandler.cs script to get the position of whichever Image Target it is attached to.
Thanks,
-Vuforia Support