Jump to content

Why this constraint node is easily collapsing?


Recommended Posts


I tried to fix it by creating a constraint property but this collapses so easily.
I kept looking for a way to neatly create constraint attributes and I thought it was the way to do this but I was very 
dissappointed because I couldn't do it...
Please tell me why this simulation collapses even though I added it.
I would be very happy if you let me know it.

houdini_wood.hipnc

스크린샷_2020-02-05_16-35-31.png

스크린샷_2020-02-05_16-44-44.png

스크린샷_2020-02-05_16-44-53.png

스크린샷_2020-02-05_16-45-02.png

Link to comment
Share on other sites

When an assemble node is both responsible for packing AND naming your geometry. That means the result will be different when you perform the operation inside a for each vs not using one. For example, inside the loop, iteration class0 (first board) its going to name each piece 1 through 20 or whatever as piece0, piece1 etc. Then it makes constraints glueing together piece0, piece1 etc. Then it moves onto the next board and repeats. So while you have 262 points. The names of those pieces overlaps. You have 6-7 piece0's so yes the glue constraint shows up in your simulation but only 1 of the piece0's is actually glued. The other 5 or so piece0's are glued to nothing and thus fall to the ground. 

Link to comment
Share on other sites

ix this your assemble node needs to add a prefix to the names that is aware of the iteration of the loop so the resulting names are

board0_piece0
board0_piece1

and 

board1_piece0
board1_piece1

etc.

 

DontDoThat.thumb.jpg.c64394af20c5adf6d66a214cfe92dfe3.jpg

 

Then just copy this loop and do the same thing with your other assemble node thats spitting out the actual geo so the names match. 

DoThis.jpg.46a7613642a9523f3c26299f84b40152.jpgTo f

Edited by Feather
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...