Measure Position Distance
This function block calculates the distance between two specified positions in a 2D space. It outputs the differences in both the x and y coordinates, as well as the total distance between the two points.
๐ฅ Inputs
Point
The first position in the format (x, y).
Point
The second position in the format (x, y).
๐ค Outputs
X Distance
The difference in the x-coordinates between the two input points.
Y Distance
The difference in the y-coordinates between the two input points.
Distance
The overall distance between the two positions calculated using the Euclidean distance formula.
๐น๏ธ Controls
This function block does not have any controls.
๐จ Features
Distance Calculation
Utilizes the Euclidean distance formula to provide an accurate measurement of distance between two points.
Multiple Outputs
Produces separate values for x distance, y distance, and overall distance, allowing for detailed analysis.
๐ Usage Instructions
Input Points: Connect the first position as a
Point
input and the second position as anotherPoint
input. Ensure both positions are in (x, y) format.Evaluate the Block: Run the function block to obtain the distance measurements.
๐ Evaluation
Executing this function block will return the differences in both directions and the total distance between the two positions provided.
๐ก Tips and Tricks
๐ ๏ธ Troubleshooting
Last updated
Was this helpful?