Jump to content

RBD and its sleeping properties


eslib

Recommended Posts

I set up a scene with crates that I want to get destroyed by a flip sim.

figured out that I had to put a attribwrangle with i@bullet_sleeping = 1; so that RBD stays in place until the FLIP collides.

The problem is now that with a little hit of flip to a group of crate the push activates all of them to break.

 

I am a noob, but found that there is a threshold to control the amount of impact to activate the RBD. I just dont know which one of these it is and how to apply it to wrangler.

bullet_angular_sleep_threshold

bullet_ignore

bullet_linear_sleep_threshold

 

Documentation found here : https://www.sidefx.com/docs/houdini17.5/nodes/dop/rbdpackedobject.html

Here is the original failed vid: https://www.dropbox.com/s/dl8ze5rv4vf6gse/Test.mp4?dl=0

Here is current failed test vid: https://www.dropbox.com/s/sa4sumxfqpqmdhq/Flud Test2.mp4?dl=0

 

 

 

 

Edited by eslib
Added video ref
Link to comment
Share on other sites

If you are using constraints, i@bullet_sleeping will be enabled only if all constrained fragments are eligible to go to sleep. If a single fragment of a cluster is woken up again, every connected fragment wakes up too. Not sure if the propagation rate of the constraints has an effect here. For freezing parts of a sim initially its more straightforward to set the i@active attribute.

The sleeping thresholds can be set up on the rbdpackedobject: Bullet Data -> Linear/Angular Threshold

Edited by nuki
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...