Jump to content
Gubkin

Activate Fractured Pieces with an Animated Object

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

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×