First maths assignment to calculate the distance between a sphere and a rotating cube with C# in unity with the Pythagorean theorem. Compiled to work with Android