I have 2 objects one is a sphere and another is a cylinder. But these may be dynamically changes as cube and a plane and so on .
So what I want to acheive get the distance from the vertex towards the outer mesh .
How can I achieve this .
I found a case where they find distance between 2 vertex points : Distance between vertex points
I saw raycaster as a tool to find the intersecting objects and its distance . How can I use it in my case?
Any help would be much appreciated.
Still learning the basics would love to learn from even a small reference.