Find Nearest Points on Line Segments

Find Nearest Points on Line Segments

Windows
MacOS
Linux

Find closest points between 2 segments.

Target is Kismet Math Library

Find Nearest Points on Line Segments
Segment 1Start
X0
Y 0
Z 0
Segment 1End
X0
Y 0
Z 0
Segment 2Start
X0
Y 0
Z 0
Segment 2End
X0
Y 0
Z 0
Segment 1Point
X0
Y 0
Z 0
Segment 2Point
X0
Y 0
Z 0

Inputs

Segment 1Start
Vector

Start of the 1st segment.

Segment 1End
Vector

End of the 1st segment.

Segment 2Start
Vector

Start of the 2nd segment.

Segment 2End
Vector

End of the 2nd segment.

Outputs

Segment 1Point
Vector

Closest point on segment 1 to segment 2.

Segment 2Point
Vector

Closest point on segment 2 to segment 1.

Select Skin
Light
Dark

Welcome to the new Unreal Engine 4 Documentation site!

We're working on lots of new features including a feedback system so you can tell us how we are doing. It's not quite ready for use in the wild yet, so head over to the Documentation Feedback forum to tell us about this page or call out any issues you are encountering in the meantime.

We'll be sure to let you know when the new system is up and running.

Post Feedback