Distance OperatorBasic Parameter
This node calculates the distance between two positions in 3D space and outputs the result. For example, if you connect the positions of two objects to the node’s inputs, the node will output the distance between the objects. If you want the distance to be calculated as soon as you move the objects in the viewport, ensure that Live Refresh is enabled (XPresso Editor: Calculate / Live Refresh).
To display the distance value in Cinema 4D’s viewport, create an Object node for a Text spline. Connect the Distance node’s output to the Object node’s Text input. To make the text visible when rendered, make the spline a child of a Loft object or Extrude object.