Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove raycaster.recursive, update raycaster docs #3980

Merged
merged 1 commit into from
Jan 31, 2019

Conversation

ngokevin
Copy link
Member

Description:

raycaster.recursive doesn't really do anything since raycaster only targets objects set with setObject3D, not the general entity scenegraph. Removing it to remove confusion, and continue to prescribe that all raycastable entities are explicitly specified via .objects.

We pass true for the recursive flag to the actual three.js raycast call so children of getObject3D('mesh') for example will be raycastable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants