Hey,
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