Nearest point on line (UPBGE 0.3)

Here are 4 ways finding the nearest point on line.

  1. with cross products
  2. with angle
  3. by Projection
  4. mathutils.geometry.intersect_point_line(pt, line_p1, line_p2 )

03_Point on_line.blend (839.9 KB)