ProtoFlux:Distance

From Resonite Wiki
Revision as of 12:35, 27 June 2024 by AmasterAmaster (talk | contribs) (Filled in the node page.)
Distance
A
*
B
Operators

The Distance node takes in 2 values and returns the distance/length between them.

This is similar to using the Sub node, rearranging the inputs so the higher number is our main value to subtract from, then taking the result and removing the sign (Value Abs node). Using distance is easier and does all that calculation for you.

Inputs

A (Pseudo-Generic)

The first value.

B (Pseudo-Generic)

The second value.

Outputs

* (Pseudo-Generic)

The distance between 2 values.