Dirty Proxy Trick
Xpresso, Tips & Tricks – by: base80
February 19th, 2006
Don’t try this at home.
This is a dirty trick to fool xpresso.
[More:]
Sometimes you are making setups where you need the result of a calculation fed into that same calculation. And that is not possible, it is a loop, xpresso will not connect the nodes.
In the above example I fed the result of the Length of the string into that same string. Connecting the Length of string node directly is not allowed.
So the trick is to make a User-Data (called proxy here) and to feed it with the result of the calculation. Then use the same User-Data to feed the calculation.
In this case it is not very dangerous.
But imagine you make a calculation like this: “Result of calculation + 5 = Result of calculation…” Obviously we have a problem.
(Edit: just tried this one and it works fine, the calculation is executed every frame so no explosions here)
So handle with care, and only use this trick when you know what you are doing.