Log in or register to post comments

OnTrackingFound & OnTrackingLost for gameobject not marker

December 18, 2014 - 11:32am #1

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 ?

OnTrackingFound & OnTrackingLost for gameobject not marker

December 24, 2014 - 12:31am #2

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.

 

Log in or register to post comments