Start a new topic

autotrigger action when IR

autotrigger action when IR


I just want to execute an action (video player) when an trackable object is shown to the user. Is there any way to do this ?

With this line of code, the trigger is fire when the object is loaded but not when it is displayed :

var tracableObject = new AR.Trackable2DObject(logoTracker, "imageID", { drawables: { cam: imageOverlay }, triggers: {onEnterFieldOfVision: playMovie}});

function playMovie()
        var url = "";       

Login or Signup to post a comment