Distance2D (Vector)

Distance2D (Vector)

Windows
MacOS
Linux

Euclidean distance between two points in the XY plane (ignoring Z).

Target is Kismet Math Library

Distance2D (Vector)
V1
X0
Y 0
Z 0
V2
X0
Y 0
Z 0
Return Value
0.0

Inputs

V1
Vector

The first point.

V2
Vector

The second point.

Outputs

Return Value
Float

The distance between two points in the XY plane.

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