Having trouble tuning an rbdbulletsolver sim of a toolbox falling and smashing into concrete.
With all the pieces stuck between colliders, I cant get them to settle.
In fact, I cant get any pieces to sleep even when setting v and w to zero after a certain frame with a post solve wrangle. Even with all pieces at 0 v and 0 w they still move around.
Any ideas?
EDIT:
I got them to force sleep by adding
if (@Frame >= end_frame) {
v@v = set(0,0,0);
v@w = set(0,0,0);
i@active = 0;
i@bullet_sleeping = 1;
}
to the wrangle and adding active and bullet_sleeping to the output transfer attributes.
Still want to find a way to make this work without forcing it.
Concrete Smash RBD Sim
326 1 1-
- ironsightdesign
- Member
- 28 posts
- Joined: April 2020
- Offline
-
- npetit
- Staff
- 463 posts
- Joined: Feb. 2008
- Offline
If you look at the collision shapes for your concrete pieces they are rounded quite dramatically - decreasing the collision padding (you have it set to 0.02 on the rbd configure sop, try 0.001 instead) will help avoid small pieces naturally rolling around.
Same thing for the collision geo underneath - having smaller gaps between the pieces will help avoid small pieces getting caught in there on weird angles.
Your falling chest is solid, like an anvil, and with the material property set to steel, its total mass is not insignificant compared to the thin pieces of concrete it's landing on and compressing, causing some of that jittering. Try reducing the density if you can, otherwise maybe try increasing the bullet substeps a bit.
Same thing for the collision geo underneath - having smaller gaps between the pieces will help avoid small pieces getting caught in there on weird angles.
Your falling chest is solid, like an anvil, and with the material property set to steel, its total mass is not insignificant compared to the thin pieces of concrete it's landing on and compressing, causing some of that jittering. Try reducing the density if you can, otherwise maybe try increasing the bullet substeps a bit.
-
- Quick Links

