I have three vector3 variables; the start, the end and some point in-between. I know in normal linear interpolation you give the start and end points along with a 't' variable such as "0.6" which returns the position at that point along the path.
What i want to do is pass the start and end point along with a position and get back the 't' value, so for example i might pass in a position just over half way and get back '0.6'.
I know this is a bit of a strange one and I've probably done a poor job explaining it, but any help would be much appreciated.