Find a position by knowing the directionVector and the distance to this point


I am trying to find a targetpoint behind an object. I do a raycast with a specific length. If the raycast hits an collider the targetpoint is set at the hitpoint. But if the raycast doesnt hit anything, i know that the way to this point is clear.

Now i must find this position, cause the raycast doesnt hit anything i cant read any information about the endpoint.
So how can i find a point, given the directional Vector and the edge length to my targetpoint?

Thanks in Advance

If you have a vector and a length, you can find the endpoint by using-

endPoint = startPoint + (vector.normalized * length);

If you have a ray, you can use