提交 05b98867 编写于 作者: M Mr.doob

Raycaster: Ignore invisible objects. See #3647 and #6757.

If someone needs to check inivisible objects they can use material.visible.
上级 2e53761e
......@@ -32,6 +32,8 @@
var intersectObject = function ( object, raycaster, intersects, recursive ) {
if ( object.visible === false ) return;
object.raycast( raycaster, intersects );
if ( recursive === true ) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册