Start a new topic

onClick for AR.Model fires *before* model even loads

onClick for AR.Model fires *before* model even loads


I want the user to click it to go to a web site after a model loads. I'm using this code:

World.model = new AR.Model(assetURL, {
onClick: World.onModelTap
});

 

The onModelTap function is getting fired off before the model even loads (and I'm not touching the screen of the phone).

Why is this happening and how do I fix it?

Please check your implementation.

I updated the SDK sample "3D Model on Target" but could not reproduce the issue - the noClick solely fires after a "real interaction".
Please find sample with a dummy onClick implementation attached.

Best regards
Login or Signup to post a comment