The concept uses the Pythagorean Theorem (A^2 + B^2 = C^2) to form a triangle and calculate the distance between the two objects. ------------------------------------------------------------------------- The difference between the two objects' Y values represents A. The difference between the two objects' X values represents B. ------------------------------------------------------------------------- The sum of the squares of A and B is equal to C^2. Finding the square root of C^2 finds your C value, or distance between the two objects.
I now realize that there is a block under Sensing that would have done half the project.