Find foot point on line passing, which has direction as given.
Direction of line.
Point to foot on line.
If you set direction as zero vector, it will return origin and param as 0.
Find foot point on line passing, which has direction as given.