CINEVERSITY

  • Recent
  • Popular
  • Users
  • Groups
  • Login
Maxon Logo
  • Login
  • Search
  • Recent
  • Popular
  • Users
  • Groups

How can I optimizing this setup with Xpresso? (Iteration and Hierarchy)

Question & Answers
2
2
395
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • H
    history-growth last edited by Apr 14, 2024, 7:38 PM

    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.

    StackedCheese.c4d

    1 Reply Last reply Reply Quote
    • Dr. Sassi
      Dr. Sassi last edited by Dr. Sassi Apr 14, 2024, 10:23 PM Apr 14, 2024, 10:22 PM

      Hi history-growth,

      Thanks for sharing the file!

      Please have a look at the file.

      CV4_2024_drs_24_XPcs_01.c4d

      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

      Dr. Sassi Sassmannshausen Ph.D.
      Senior Trainer, Maxon Master Trainer, L&D - Strategist
      Cinema 4D mentor since 2004, Member of VES, DCS.

      1 Reply Last reply Reply Quote
      1 out of 2
      • First post
        1/2
        Last post