v21’s avatarv21’s Twitter Archive—№ 30,212

    1. …in reply to @undefined
      @neotenomie I always struggle with this stuff... you could compare ratio between the distance between point and start and point and end?
  1. …in reply to @v21
    @neotenomie wait... actually I think the better answer is docs.unity3d.com/ScriptReference/Vector3.Project.html
    1. …in reply to @v21
      @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))