Skip to content

provide Intersection.distanceToRay for all objects #30479

@trusktr

Description

@trusktr

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.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions