Jump to content

Packed Primative RBD Activate Based on Force or Impact?


James Jackson

Recommended Posts

I am new to the packed primative RBD in H14 and have found some examples of sops level activation, but how do i make an rbd packed primative active based on a hit or force value?  For example a sphere hitting a cut up box suspended in the air?

 

Here is a basic scene.  I have attempted to use the sop solver but i just don't get it.

 

Thanks.

 

 

 

Link to comment
Share on other sites

Sweet, thanks a lot Pazuzu!  This is really helpful.  One more question, what would be a good way to activate only the pieces it comes in contact with?  I thought of using an attribute transfer but i am having no luck with that.

 

Thanks again for taking the time to look at this, much appreciated!

 

-Jj

Link to comment
Share on other sites

I had more time today so i thought i would follow up.  I have three ways to do it. 

 

1. by proximity to the impact object

2. by proximity of the impact value

3. global impact value (from Pazuzu)

 

Dive inside the sop solver and flip the switch node. There are probably better ways but this is what I came up with.  If you have better ideas would love to see them.

 

Thanks,

-Jj

 

 

 

H14_dyn_active_rbd_multi_solve_help_working_II.hip

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...