-
@neotenomie I always struggle with this stuff... you could compare ratio between the distance between point and start and point and end?
-
@neotenomie wait... actually I think the better answer is docs.unity3d.com/ScriptReference/Vector3.Project.html
-
@neotenomie (but you'll need to process it because that answer assumes that start and end are 1 unit apart, and that start is (0,0,0))