Raycaster does not detect click on GltfModel
See original GitHub issueGreat library!
When I use Raycaster it does not detect clicks on loaded Gltf-Models.
When I activate the option intersectRecursive and then console log the click event, the intersectObjects list only contains meshes with a direct parent of scene and no loaded models.
Is there a hidden attribute that has to be set in the Gltf-Model loading process?
Issue Analytics
- State:
- Created 2 years ago
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Three js raycaster not working for gltf model - Stack Overflow
I add a gltf format model to scene, and it shows. when i try to get intersects by raycaster.intersectObjects( scene.children ). its not...
Read more >Clicking on gltf models - Questions - three.js forum
I want click on a model and it will zoom in and other model will hide but it not work. How do I...
Read more >Raycaster doesn't detect intersection with .gltf object-three.js
Coding example for the question Raycaster doesn't detect intersection with .gltf ... Three.js detect click on an object with Raycaster don't work ...
Read more >Raycaster Mouse Picking - Three.js Tutorials
This is a basic example of using the Raycaster to mouse pick objects in the scene. ... are deliberately excluded from this so...
Read more >cursor - A-Frame
The cursor component provides hover and click states for interaction on top of the raycaster component. The cursor component can be used for...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi, sorry, will handle this tomorrow
This should work with 0.3.2, you can use :
Or :