Is it possible to change location based on proximity to another object? I have two pieces of dynamic text, one of which is parented to the other as they go through various transforms in the animation. Is there a way to drive the location of the second text object based on proximity to the first, so that if values change it still is aligned properly?
Adjacency



Consider a driver in the Delta Location X which associates with the X dimension of the adjacent object.  Suit Location index to needs.



Image above.  Cube has smaller X dimension.



The cone is a parent as depicted in the Outliner Window.  The sphere delta location is determined by x dimension of the beveled cube.  The alignment must be taken into consideration.  Here the cube origin is the geometric center, thus the script has the corresponding math.

The blue object represents text.