Jump to content

Simple voronoi fracture-activation based on mass or density


art3mis

Recommended Posts

Hi

Creating a simple voronoi fracture test with gravity.  I can achieve a 'staggered' top down activation, but what I would like instead is to have activation based on the size or density of individual fragments. Smaller pieces fall first followed by larger ones.

I assume some variation of this has been asked, solved previously but after a search didn't find anything.

Can anyone help?

voroni.png

Link to comment
Share on other sites

Hey!

Yeah, look at the hip file I've attached. I'm using a sop solver with a single wrangle that gets piped into the rbd solver, post or pre solve, doesn't matter. 

If you are calculating mass in the rbd object, then you should have a good range of values to use in that wrangle. I'm just doing an animated float channel to determine whether or not a piece is active. 

Hope this helps!

 

RBD_Active_By_Mass.hiplc

  • Like 1
Link to comment
Share on other sites

You could also run your pieces through a for each with a measure sop set to area. That will give you a size attribute effectively. How you use it to execute what you want is next part. Maybe use in Hartman wrangle ( didn't look ). But using area, you could set your active in sops.

 

  • Like 1
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...