Finding the endpoint of a raycast

Hi,

How do you find the endpoint of a raycast?

Raycast line:

local raycastResult = workspace:Raycast(projectile.Position, direction * 200, raycastParams)

Thanks.

This is one of the values contained in the RaycastResult, Position. Always a good point to check out documentation to see if your question can be answered by an article there. :slight_smile:

1 Like