/Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h
Find the closest point on an infinite line to a given point.
The closest point on the line to the given point.
static FVector FindClosestPointOnLine ( FVector Point, FVector LineOrigin, FVector LineDirection )