Tresjs / tres

Declarative ThreeJS using Vue Components

Home Page:https://tresjs.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

add `recursive` argument for useRaycaster

zx69 opened this issue · 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