Object Stacking through Vex

   2085   1   0
User Avatar
Member
20 posts
Joined: May 2016
Offline
Hi;

I have a bunch of objects I'm trying to stack on top of one another through the use of wrangles within a for-each loop. Just like the copy and transform node gives it's copies a “copynum” identifier on their primitives, I did the same through the connectivity sop. Then I fed the result into a for-each loop that loops though pieces using “copynum” as the piece attribute.

What I wanted to do through Vex but got bogged down is:

1- Take the y bound of the first object and add it to the @P of the second one.
2- Take the y bounds of the first and second object, add them and add the result to the 3rd object.
3- And go on with as many objects there are as defined by copynum.

I would appreciate it a great deal if someone could take the time to take a peek at my file and give me an idea.

Thanx in advance;

AJ
Edited by noc2 - Nov. 11, 2018 21:51:09

Attachments:
AJ_Object_Stacking_Vex.hipnc (80.2 KB)

User Avatar
Member
474 posts
Joined: July 2005
Offline
Hi,

is this coming close to what you want?

Attachments:
AJ_Object_Stacking_Vex_Y.hipnc (88.4 KB)

  • Quick Links