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

provide Intersection.distanceToRay for all objects #30479

Open
trusktr opened this issue Feb 7, 2025 · 0 comments
Open

provide Intersection.distanceToRay for all objects #30479

trusktr opened this issue Feb 7, 2025 · 0 comments

Comments

@trusktr
Copy link
Contributor

trusktr commented Feb 7, 2025

Description

Not all objects provide distanceToRay when raycasting.

Solution

See Points.raycast. Seems easy to add to other objects for consistency.

Alternatives

don't add

Additional context

I updated the docs in

but it would be better (and seemingly easy) to just add this property to Intersections of all objects.

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

No branches or pull requests

1 participant