Distance
The straight-line distance between two points.
Node id vector/distance
The Distance node outputs how far apart points a and b are, in a
straight line: from (100, 100) to (400, 500) it is 500.
Inputs
Outputs
| Name | Type | Notes |
|---|---|---|
| distance | number |
Behaviour
- Defaults. Both points default to (0, 0).
- Never negative. The order of the points doesn't matter.
Related nodes
- Vector From Points: the direction as well.
- Length: the length along a line or outline.