Detects intersections with colliders in the 3D environment by casting a ray from one point in space to another.
All determines if the ray should extend to its entire length, while
Near will stop at the nearest object it hits.
|Start the ray cast.
|A setting to determine if the ray should extend to its entire length, or stop at the nearest object it hits.
|The starting point of the ray. You can provide a 3D vector value as the ray's origin..
|The direction in which the ray will be cast. You can provide a 3D vector value as the ray's direction.
|The maximum distance the ray should travel. If not provided, the ray will travel infinitely.
|Execute the next node.
|Outputs true if the raycast hits an object; false if not. Connect this output to other nodes to create custom logic based on the raycast result.
|Hit Info Array
|The result of the raycast if it intersects with a collider. Connect this output to a Ray Hit Info node to access the information.