Say i have a straight line, how would you project it on to a circle as an arc length where by the centre normal of the line is fixed to (0,1)*r on the circle?
Basically what i am trying to do in my code is i have a mesh and i want to warp it around a circle, but i don't know the math for it.
Here is an image to visually show it:
I drew it with a mouse so its not great.
How do you figure out the position on the circumference, based from the local distance from the green marker for some circle with known origin and radius.