I'm trying to get a dynamic contact point for a shrinkwrap modifier. The normal projection of the shrinkwrap is not enough in my case, as i need the closest point of another surface. However i'm not having any luck in getting the values from the raycast back that i need.
Here is my current setup:
I would want to get the shortest ray, and at its hit point i want to spawn a simple icosphere, or other mesh. In my mind its quite simple to achieve, but i cant get it to work.