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?
A
Andreas Fötschl
said
over 7 years ago
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.
Ian Sherwood