add `recursive` argument for useRaycaster
zx69 opened this issue · comments
Zheng Xin commented
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
- I agree to follow this project's Code of Conduct
- Read the Contributing Guidelines.
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.