getMatrixGL_RH- event does not work for me
Hi I created a js project with react and three.js and arnft (jsartoolkit). I see some problem in arnft performance (or maybe I did not understand How to use correctly) I hope whenever you find the answer help me. This is my email also : [email protected]
I checked this complete example also : https://github.com/webarkit/ARnft
Problems: 4) getMatrixGL_RH- event does not work for me document.addEventListener('getMatrixGL_RH-' + nft.uuid + '-pinball', function() { console.log('this is pinball!!'); })
window.addEventListener works, had the same problem
@Parisa-DolphinSoft Thank you for reporting this, as @snmabaur commented you should use addEventListener attached to the window object. I think you are referring to this example. I will fix this when i have a bit of time.
I fixed the example tell me if it works now.
Thanks by windows it is worked