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