Vector From Points
The vector from one point to another.
Node id vector/from-points
The Vector From Points node outputs the vector that goes from start to
end: end minus start, component by component. From (100, 100) to
(400, 500) it is (300, 400).
Inputs
Outputs
| Name | Type | Notes |
|---|---|---|
| vector | Vec2 |
Behaviour
- Defaults. Both points default to (0, 0).
- Points and vectors. A Point is a place, a Vec2 a direction and length; the two are separate types and don't connect to each other. This node turns two places into the direction between them.
- Length. The vector's length is the distance between the points, as given by Distance.