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.

Help shape the future of Unreal Engine documentation! Tell us how we're doing so we can serve you better.
Take our survey
Dismiss