Direction (2 | 3)
Function. Outputs a direction vector from one point to another with a specified length.
Mathematically: normalize(To - From) × Length.
Commonly used to calculate initial velocity of particles emitted toward or away from a point.
Properties & inputs:
- From (input | property): The starting point.
- To (input | property): The target point.
- Length (input | property): The length of the resulting direction vector.
Output:
- Direction vector with the specified length.