RBD fractured objects issue!

   2526   2   0
User Avatar
Member
407 posts
Joined: 8月 2015
Offline
Hello guys,


In an RBD simulation, I would like to control the transform/rotation of the elements, to stop them from moving forever. The fractures travel too far away..!

I tried to use the "Drag" node, but it's hard to achieve the right value in its parameters!

So what's the best solution to fix it?



Actually, I want to achieve a falling behavior like what they made in this TVC:
https://www.youtube.com/watch?v=QbmW76Cp4s8 [www.youtube.com]


Thanks for helping.
Edited by Masoud - 2022年3月18日 05:26:37

Attachments:
RBD Limiting Drag_02.hip (880.7 KB)
RBD Limiting Drag.jpg (352.4 KB)
RBD Limiting Drag 2.jpg (127.3 KB)

Masoud Saadatmand (MSDVFX)
User Avatar
Member
731 posts
Joined: 12月 2006
Offline
I would first try the bullet world scale parm... scale your sim up 100x. Bullet is notorious for rolling-forever small pieces. This causes the HDA to scale up your sim and all forces, then rescale it back down for you. This sometimes works.

If this doesn't work, then change your collision padding smaller. Often just making it 0 works fine. (Tiny pieces can be turned "inside out" by the collision padding.)

Still no joy? Then add a POP wrangle to first second input of solver to quickly ramp down angular velocity (w): (apologies if I stole this from someone on this forum):

// If speed and torque are less than a value reduce the torque
float spin = length(v@w);
float speed = length(v@v);

if(spin < ch("threshold") || speed < ch("speedthresh") ) {
v@w *= 0.1;
}


// If the speed is less than .1
// stop the objects by making them inactive
if (@speed < .1 && @Frame > 1050) {
@active = 0;
}
Sean Lewkiw
CG Supervisor
Machine FX - Cinesite MTL
User Avatar
Member
22 posts
Joined: 10月 2015
Offline
Just loved that answer, thanks!!
  • Quick Links