Find Part On Ray
Description
Sends out a invisible ray from a point in space with a specific direction and length, and then detects if it hits a part. If nothing is hit, the output will all be nil.
Available to
Inputs
Origin (Vector3)
You set the Origin of the Raycast.
Direction (Vector3)
You set the Direction of the Raycast.
FilterType (Choice)
You set the FilterType of the Raycast.
Filter DescendantsTable (Table)
You set the filter table for the given FilterType.
Outputs
Instance (Object)
Returns the Object that got found by the raycast.
Returns nil if no object was found.
Position (Vector3)
Returns the Position, where the raycast hitted the Instance.
Returns nil if no object was found.
Normal (Vector3)
Returns nil if no object was found.
Last updated