|
@@ -32,7 +32,7 @@ class InteractiveGroup extends Group {
|
|
|
|
|
|
raycaster.setFromCamera( _pointer, camera );
|
|
|
|
|
|
- const intersects = raycaster.intersectObjects( scope.children );
|
|
|
+ const intersects = raycaster.intersectObjects( scope.children, false );
|
|
|
|
|
|
if ( intersects.length > 0 ) {
|
|
|
|
|
@@ -77,7 +77,7 @@ class InteractiveGroup extends Group {
|
|
|
raycaster.ray.origin.setFromMatrixPosition( controller.matrixWorld );
|
|
|
raycaster.ray.direction.set( 0, 0, - 1 ).applyMatrix4( tempMatrix );
|
|
|
|
|
|
- const intersections = raycaster.intersectObjects( scope.children );
|
|
|
+ const intersections = raycaster.intersectObjects( scope.children, false );
|
|
|
|
|
|
if ( intersections.length > 0 ) {
|
|
|
|