Hi Craig,
The question yesterday discussed the use of a PoseMorph Deformer. I do not get the connection here. Please specifiy in the thread, http://www.cineversity.com/forums/viewthread/1637/
======
Your set up works from the World Origin, and it uses the distance to it as input. I take that as a hint. IF the light is some place else, it doesn’t work. Further more, ignoring that you feed a “Vector” information into a “Real”, means that you could create a change of position in the object, without changing the calculated value, or you increase the value more than a direct distance measurement would be.
I do not write this down, to critic your efforts, I do that, because one important thing in XPresso is to know what runs through the “wires”. This is essential to know. Please check my series about, or just ask, what ever you like more, perhaps the manual is the fastest way, as it is more about definitions.
======
When you place a Sphere into a Cloner Object, one would expect normally to get many Spheres, otherwise the Fracture Object would be used, to influence single object, which are supposed to be single objects. (But yes, one can produce a single clone.) If a single object is in question, than use the Distance Node between the two.
With a large amount of clones, it becomes more difficult. The first question would be, is this more work than to animate manually? If that is not possible, we need to set up a system. As we talk about PSR changes here only, the size of the objects is not included in a set typically. “…MGfo_01”.
======
A solution with XPresso would have the need to request each objects position, once per frame, and evaluate this for your targets. Further more, it would just get the position of the object. To be more precise, one would need to calculate then the surface of an object to get that accurately.
In the example I checked all object distances based on their axis. I stored all values in an Object that I called RAM, and used it to simply figure out the smallest distance. I used a plane, made it editable, and after the first run, I deleted all points that were not needed. Easy to spot in the Structure manager, and done with a rectangle selection. One could also leave them there and run an iteration 5-441 to put them above, e.g, P.Y =1000.
The plane stored the distance as y value, with a Bounding Bow Node I request to give me the lowest point: the smallest distance. Anything more sophisticated than that needs Python, with a loop and memory/variables set up.
The file “…XPfo_01”.
=====
Let me suggest a simple working way:
You place the light in a Cloner Object and set the Transform>Color to black.
Then use any Effector that colors or change the intensity of light in that Cloner. See Example.
The Second Cloner is then used in side of that Effector as a Falloff Object. If you use Dynamics, you need to MoGraph Bake the situation, so the cloner works with PSR data, and not with dynamic data.
Lots of options and easy to set up. Would that work for you?
All the best