brianxu / GPUPicker

a GPU based picking class for ThreeJS lib
MIT License
79 stars 14 forks source link

WARNING: intersectionPoint missing #4

Open VinAr22 opened 5 years ago

VinAr22 commented 5 years ago

Hi! Great library, but i have a problem. I have copied files from your example. All works very vell, but i have warning 'WARNING: intersectionPoint missing' and error 'Uncaught TypeError: Cannot set property 'object' of undefined'. what can i do?

VinAr22 commented 5 years ago

Its happened when i press the mouse button on the object and lead to the side, while crossing other objects

VinAr22 commented 5 years ago

And how i can use your picker on mobile?

brianxu commented 5 years ago

hi @VinAr22 in general it should work the same way as THREEjs does on mobile. I can take a look tonight see if I can help.

VinAr22 commented 5 years ago

Thank you very much! The most important thing how it works on mobile?