tres
tres copied to clipboard
add `recursive` argument for useRaycaster
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
- [x] I agree to follow this project's Code of Conduct
- [X] Read the Contributing Guidelines.
- [X] Read the docs.
- [X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.