Closed jessicachrist closed 1 year ago
@hiukim Do you know what could be wrong? Thanks!
I can't see obvious mistakes at first scan. It's hard to tell without further debugging.
It might have something to do with the lifecycle of aframe and react, and the listener just didn't register properly. Or maybe the the model just didn't capture the click. But I guess if it works on one target, then it shouldn't be the case.
Thanks for your feedback. Maybe there's an issue with the two gLTF files (bear and racoon) from the multi target example, e.g. that they don't have a bounding box. When I changed the gLTF file but kept the band.mind file, it worked.
Hi there
I'm currently experiencing the problem, that none of the two targets are clickable with React as Multi Targets (used the example with the multi-target band marker). With just one target from the card example it works.
Any ideas what I am missing? Many thanks in advance!
Here's the code inside my MindAR functional component:
and in the return:
`