arjanM Posted March 10, 2016 Share Posted March 10, 2016 Hi everyone, I am trying to make a simulation of a building that get destructed. But when I add a drag force my simulation the whole building will explode in 1 frame. I doesn't matter what I do, as soon as I add a drag force, things explode. Even when I make a simple voronoi fractured box with a drag force it also explodes. I am still a beginner when it comes to rigid body simulations and I think I am missing some basic knowledge. Does somebody know how to proper use the drag force? Here is a simple example scene where you see the problem in the first few frames. When you disable the drag it will behave normally. dragProblem.hiplc Quote Link to comment Share on other sites More sharing options...
Skybar Posted March 10, 2016 Share Posted March 10, 2016 Strange. No idea why it does that. But since you are using Packed Prims, you can use the Pop Drag DOP instead: dragProblem_dv.hiplc Quote Link to comment Share on other sites More sharing options...
Atom Posted March 10, 2016 Share Posted March 10, 2016 (edited) I think you are using it ok. If you enable Ignore Mass you get a little better results. What happens is a few pieces fly off really quick. These pieces must be in close contact to a neighboring fracture piece and producing a lot of collision strength. That is what is causing everything to explode. Also consider changing the Global Seed on the scatter. You may luck into a pattern with very little initial piece interpenetration. You may want to check out the MasterClass SideFx video on the Bullet Solver. They explain in detail how to solve some of these problems. Edited March 10, 2016 by Atom Quote Link to comment Share on other sites More sharing options...
arjanM Posted March 10, 2016 Author Share Posted March 10, 2016 Thanks for the quick reply. This seems to work great in my building scene. I also really wanted to have a drag on the rotation of the objects and that seems to be the problem. When I add a pop drag spin to the multisolver it will show the same behaviour as with the drag force. Or when I only use the drag force and I set the scale torque to zero it will work fine. Is there a way to get rotational drag on the packed rigid bodies? Quote Link to comment Share on other sites More sharing options...
JohnMarston Posted March 10, 2016 Share Posted March 10, 2016 (edited) You can tweak your rotational velocity directly by wiring in a geometry wrangle* to either the pre-solve or post-solve inputs on your rigid body solver and messing with the @w attribute (rotational velocity). For example, v@w *= 0.9; will set the rotational velocity to 90% of what it would normally be on each frame. This will have the same effect as applying a rotational drag to it. Edited March 10, 2016 by JohnMarston 1 Quote Link to comment Share on other sites More sharing options...
arjanM Posted March 11, 2016 Author Share Posted March 11, 2016 I didn't even know about the geometry wrangle. Thanks that works very well. Quote Link to comment Share on other sites More sharing options...
fathom Posted March 11, 2016 Share Posted March 11, 2016 yeah, i've found drag force to totally explode whenever i use it. my sim is totally fine without it so there's no crazy collision velocities making things shoot out insanely fast. but when i put in a drag, it blows up. it has always done this, so i've always done ghetto drag (v=v*.9 like above). i suspect it might be a scene scale thing, but i dunno. i usually use cm. might be the default values are scaled improperly for cm... not sure. 1 Quote Link to comment Share on other sites More sharing options...
Skybar Posted March 11, 2016 Share Posted March 11, 2016 It's obviously a bug of some sort. Hopefully you all report it so it gets SESIs attention. Quote Link to comment Share on other sites More sharing options...
Nicholas Ralabate Posted November 25, 2019 Share Posted November 25, 2019 Just ran into this today, thanks much for the wrangle workaround. I wonder what it is that causes Drag DOP to make sims explode? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.