tres icon indicating copy to clipboard operation
tres copied to clipboard

add `recursive` argument for useRaycaster

Open zx69 opened this issue 2 years ago • 0 comments

Description

In the userRaycaster hook, the second calling parameter (recursive) of the intersectObjects method is fixed to pass in false, and there is not configurable, which in some cases (such as in a non-standard models) can result in the inability to select descendant nodes.

Suggested solution

Hope to add a parameter 'recursive' to the useRaycaster hook, so that the calling method of intersectObjects can be configured independently, thank you!

Alternative

No response

Additional context

No response

Validations

zx69 avatar Jan 13 '24 06:01 zx69