Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

RayCastOptions

struct in Physics

Fields

NameTypeDescription
ray_originVector3

A ray origin.

ray_directionVector3

A ray direction. Can be non-normalized.

max_lenfloat

Maximum distance of cast.

groupsInteractionGroups?

Groups to check.

sort_resultsbool

Whether to sort intersections from closest to farthest.