Sum Vectors
Adds up an array of vectors.
Node id vector/sum
The Sum Vectors node outputs the sum of the vectors in vectors: their x
components added up, and their y components added up. (1, 2) plus (3, -1)
is (4, 1).
Inputs
Outputs
| Name | Type | Notes |
|---|---|---|
| vector | Vec2 |
Behaviour
- An array.
vectorstakes one array of vectors, for example from Make Array. - Empty. An empty array (or nothing connected) gives (0, 0).
- Steps in a row. The sum is where you end up after taking each vector as a step, one after the other.
Related nodes
- Average Point: the centre of several points.
- Make Array: builds the array.