Jump to content
Sign in to follow this  
James Jackson

Packed Primative RBD Activate Based on Force or Impact?

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.

 

 

 

Share this post


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

Share this post


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

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
Sign in to follow this  

×