Description
This node performs a vector subtraction between two vectors Source and Target.
The subtraction is Target – Source and the resulting vector describes the parameters (angle and length) to go from Source to Target.
Properties
This node has no properties in the Editor
panel.
Inputs
Name | Type | Description |
---|---|---|
Source | Vector 2D | Source vector |
Target | Vector 2D | Target vector |
Outputs
Name | Type | Description |
---|---|---|
Vector | Vector 2D | Result vector of : Target – Source |
Angle | Float | Angle of the result vector |
Distance | Float | Length of the result vector |
Example
Consider the following vectors : Source (2,1) – Target (2,3)
Need more help with this?
Don’t hesitate to contact us here.