Jump to content
garf

Grain RBD Active/Deactive

Recommended Posts

Morning all,

I've got a basic Grain RBD setup of a box filled with grains I would like to settle and then stop movement until a collider is introduced.

I 've used a pop wrangle to deactivate the grains below a velocity threshold but would like them to be reactivated once the collider is in close proximity.  I thought a simple SOP Solver with an attribute transfer would do the job but, although the spreadsheet says their active value = 0 - they are clearly still active and the SOP Solver appears to be overriding the POP Wrangle completely.

Any suggestions on either why this doesn't work or a better alternative.

Thanks

basicGrainRBD.hip

Share this post


Link to post
Share on other sites

I haven't checked your scene, but if you haven't already tried it, check out the POP Awaken DOP; I've used that to successfully wake up sleeping grains particles

Share this post


Link to post
Share on other sites

is because your attribute create "active" is a float in the sop solver, change to an integer and it should work as you expect.

  • Thanks 1

Share this post


Link to post
Share on other sites
Posted (edited)

This is awesome. Just seems to have some major issues when you replace that sphere collision object with say the rubber toy and turn on convex. Is there a limitation with bullet and convex?

Edit: yes there is

Edited by Daniel Lefebre

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

×