The Vector nodes provide several operations, specifically used for handling vectors.
This node is used to expose certain parameters and attributes of a given input Unity 3D Vector3, which are:
Name | Type | Description |
---|---|---|
x | Float | X component of the vector |
y | Float | Y component of the vector |
z | Float | Z component of the vector |
This collection of Nodes are responsible for performing basic useful operations with vectors.
Node | Description |
---|---|
Angle | Calculates the angle, in degrees, between two vectors |
Distance | Returns the distance between two vectors |
Dot | Dot Product of two vectors |
Normalize | Makes this vector have a magnitude of 1 |
Cross | Cross Product of two vectors |
Magnitude | Returns the length of this vector |
Max | Returns a vector that is made from the largest components of two vectors |
Min | Returns a vector that is made from the smallest components of two vectors |
Scale | Multiplies two vectors component-wise |
This collection of Nodes allows for the implementation of interpolation between vectors.
Node | Description |
---|---|
Lerp | Linearly interpolates between two points |
Sphere Lerp | Spherically interpolates between two vectors |
In both cases, the value T
represents the value used for interpolation: if T = 0
the result will be the first point, if T = 1
the second.
This collection of Nodes allows for simple mathematical operations between vectors.
Node | Description |
---|---|
Vector Sum | Returns the sum of two vectors |
Vector Subtraction | Returns the subtraction of two vectors |
Vector Multiply | Returns the multiplication between a vector and a float scalar |
Vector Divide | Returns the division between a vector and a float scalar |