How can I optimizing this setup with Xpresso? (Iteration and Hierarchy)
-
Hi everyone,
I'm looking for a way to calculate the height of several Cylinder objects from their individual distance to an object in the scene.
As I have set up the calculation right now I'm using the Distance node to calculate it on the main object but as I do want this to happen at the same time on all of the objects I need to set this up with Iteration nodes and I can't get that to work.
The effect I'm looking for is a dynamic linked behaviour where the cylinder objects are constantly shifting in height and pushing each other up and down at the same time.How would I set this up? Attaching my scene file.
-
Hi history-growth,
Thanks for sharing the file!
Please have a look at the file.
This is the most flexible I can think of now, as you can add one without any further "coding". Just keep the hierarchy "flow".
You can change them by selecting the ObjectObject and using the "yellow" point to adjust the parameter of the ObjectObject itself.
The Selection Object's purpose is only to select all in its list to adjust all at once. If you add more, drag them to the Selection Object's list.
All the best