RayCastOptions
struct in Physics
Fields
Name | Type | Description |
---|---|---|
RayOrigin | Vector3 | A ray origin. |
RayDirection | Vector3 | A ray direction. Can be non-normalized. |
MaxLen | float | Maximum distance of cast. |
Groups | InteractionGroups? | Groups to check. |
SortResults | bool | Whether to sort intersections from closest to farthest. |