Documentation / Node reference / code nodes

code/Distance

Outputs the distance between two points.

Math

Outputs the distance between two points.

Parameters

Name Type What it does
a_Vector2 Vector2 First point.
b_Vector2 Vector2 Second point.
a_Vector3 Vector3 First point.
b_Vector3 Vector3 Second point.
a_Vector4 Vector4 First point.
b_Vector4 Vector4 Second point.

This page is generated from the engine, so it describes the release you can download. The same text is in the editor's Help panel next to the node itself.