diff --git a/js/components/InputController.js b/js/components/InputController.js index 81dee21..182b461 100644 --- a/js/components/InputController.js +++ b/js/components/InputController.js @@ -107,7 +107,7 @@ function onTouchStart(event){ raycaster.setFromCamera( mouse, camera ); - var intersects = raycaster.intersectObjects( scene.children[1].children, true); + var intersects = raycaster.intersectObjects( scene.children[3].children, true); if ( intersects.length > 0 ) { // alert(mesh.name);