Jump to content

Activate Fractured Pieces with an Animated Object


Gubkin

Recommended Posts

Hello everyone

I have got a sphere activating fractured geometry by going through it. I am using a foreach node with a centroid expression inside to add point to each piece which is then activated by the sphere via attribute transfer. Then I am using a point expression on a activevalue in the DOP to activate the pieces by the colour that the sphere transfers to the points.

I want to know how to make the pieces that activate stay activated forever without deactivating once the sphere is gone. Any ideas? Thanks.

activate_pieces.hipnc

Edited by Gubkin
Link to comment
Share on other sites

You could use the SOP solver to change the activate state from 0 to 1.  create an active attribute on the sphere volume and do an attribute transfer from the sphere to the fractured object inside of the sop solver.  This will keep the new values as the sim runs... just make sure that the fractured pieces aren't active at the start...which will give them an active value of 0

 

 

here's an example

 

activeSopSolver.hipnc

Edited by stovetop
Link to comment
Share on other sites

Thanks, stovetop for your reply. When I opened your scene I got a massive list of "skipping unrecognized" stuff and it didn't work but you mentioning the SOP Solver made me test a few things and it worked, so thank you :)
Here is the working file

activate_pieces_forever.hipnc

Edited by Gubkin
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...