Simple answer is, it works.

Trace out
trace(plane.distanceTo(cube))
If nothing traces its something else in your code.

You do understand the distance is calculated from the centers of the cube
and plane.

Reply via email to