Open Zaniyar opened 1 year ago
Hi, I've faced similar issue. I forwarded the props. You can check my fork https://github.com/Artkoch/react-three-arnft-artkoch. I hope that helps
Hi, perfect. You did put the onMarkerFound and Lost on the
A pitty this repo is not maintained.
I see you log the messages:
lost {type: 'lost'}
orfound {type: 'found', index: '0', matrixGL_RH: '[1.0426520743196028,0.13655717738457288,0.04756109…33636608,-74.88481076460363,-577.9151391163712,1]'}
how do I communicate to the worker?Like this:
<NFTMarker onMarkerFound={()=>{console.log("found")}} onMarkerLost={()=>console.log('lost')} url={["../data/marker/pinball.fset", "../data/marker/pinball.fset3", "../data/marker/pinball.iset"]}>