I want to interpolate between 2 given random Vectors along a not straight line. I have tried lerp, slerp, quaternions and rotation Matrices and I cant get it to work.
I have a random curve and a starting Vector at point 0 and an ending Vector at point n. All I want is a vector that blends beetween the two vectors on the shortest path possible and set that vector as pointAttrib. Preferably with easing in/out, but thats not neccessary.
The pictures show something similar to what i want. the green vector are the start and end, and the blue is the interpolation. I need this to work for any kind of start an end vector.
Can some mercyful soul please help me to get this working in vex? I have beed trying for days now

I added my testfile in case somebody wants to take a look at my tries.
Regards Moon