Start a new topic

exit from AR and move to another html page

i am interested to using the 3D Object detection , my idea is when the 3D object detected i want to move to another HTML Page (Exit from AR and move to another Page ) 

Thanks 


can you help me ? 


1 Comment

Hi Ayman,

Yes, that would be possible. The trackable classes have on*Recognized callbacks, which you can use to call openInBrowser like so:

 

var trackable = new AR.ImageTrackable(some_tracker, some_target_name, {
  onImageRecognized: function() {
    AR.context.openInBrowser(...);
  }
});

 

 Thanks

Eva

Login or Signup to post a comment