Is there equivalent for OnTrackable find and lost for 3dgamemodel ?
if (newStatus == TrackableBehaviour.Status.DETECTED || newStatus == TrackableBehaviour.Status.TRACKED)
{
OnTrackingFound();
}
else
{
OnTrackingLost();
}
OnTrackingLost runs sometimes when i still see 3d gameobject but not marker ... how i can improve this code so still if i can see gameobject i dont run tracking lost ?
The OnTrackingLost is called when Vuforia stops tracking your image target, based on the content of the camera image; Vuforia cannot detect when the Unity game object (3d model/augmentation) is (or is not) in the camera view, simply because the gameobject is "virtual" and does not belong to the "real world" camera image.