2

I add a gltf format model to scene, and it shows. when i try to get intersects by

raycaster.intersectObjects( scene.children )

its not working

it worked on obj format model

Rabbid76
  • 202,892
  • 27
  • 131
  • 174
KE LIU
  • 23
  • 10
  • 2
    solved, use raycaster.intersectObjects( model.children, true ) – KE LIU Sep 29 '17 at 09:17
  • 1
    Possible duplicate of [Raycasting against 'subscenes' in three.js](https://stackoverflow.com/questions/17607435/raycasting-against-subscenes-in-three-js) – Radio Sep 29 '17 at 11:57

0 Answers0