Navigation
Unreal Engine C++ API Reference > Runtime > Engine > Kismet > UKismetMathLibrary
References
Module | Engine |
Header | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.h |
Include | #include "Kismet/KismetMathLibrary.h" |
Source | /Engine/Source/Runtime/Engine/Classes/Kismet/KismetMathLibrary.inl |
static FVector FindClosestPointOnSegment
&40;
FVector Point,
FVector SegmentStart,
FVector SegmentEnd
&41;
Remarks
Find the closest point on a segment to a given point. The closest point on the segment to the given point.
Parameters
Name | Description |
---|---|
Point | Point for which we find the closest point on the segment. |
SegmentStart | Start of the segment. |
SegmentEnd | End of the segment. |