Jump to content

Custom force not affecting RBD sim


Kdeg

Recommended Posts

Hello,

For some reason I can't get imported forces to affect an rbd sim when there is an active object constrained to a static object with simple glue. Even when the glue strength is set to minimum and the force is considerably scaled up, there is still nothing happening. The sim works fine if I remove the constraints between active and static objects and only keep the constraints between active pieces.

I attached a simple setup below with the two configurations.

Any Idea why the one with inactive objects doesn't work?

Thanks.

force_test.hipnc

Link to comment
Share on other sites

forces never break constraints...two ways to break constraints : either (1) break them manually , (2) objects hitting each other (e.g. a ball hitting your target breakable object). It does not really matter how much force you apply, they won't break even the slightest constraint...

Link to comment
Share on other sites

I confirm. The RBD solvers works through « impact » data that propagates.

They do not calculate what is called shear and stress within the structure : this kind of calculation is done in a FEM solver. You can also get a similar behavior with Vellum.

The good news is that there is one in Houdini :-)

 

Link to comment
Share on other sites

Thanks for the response guys.

I apologize I  think I used the word "force" wrongfully. I'm actually manually adding velocity to specific rbd pieces in a sop solver. It does break glue constraints when there are no static objects constraint involved. You can see this in the file I attached. I just can't figure out why it ceases to work when constraints between static and active objects are involved.

 

Link to comment
Share on other sites

If I understand you correctly, then it's the same concept: if there are constraints bet active and passive pieces and you apply force or velocity on an active piece, the most probably it won't move because it's attached to a passive piece by a constraint...so the same idea: if there are constraints, then having force or velocity on pieces won't break them (so break them manually or via impact)....I am not sure if this answers your question? 

  • Thanks 1
Link to comment
Share on other sites

3 hours ago, Kdeg said:

It does break glue constraints when there are no static objects constraint involved.

It's because impacts are happening between static and active objects. Bullet solver breaks glue constraints automatically when impact attribute of constrains greater then strength. You can broke constrains manually with sop solver dop.

Look at this topic, I posted an example file there, how to broke constraints manually.

 

  • Thanks 1
Link to comment
Share on other sites

On 10/4/2019 at 8:00 AM, StepbyStepVFX said:

I confirm. The RBD solvers works through « impact » data that propagates.

They do not calculate what is called shear and stress within the structure : this kind of calculation is done in a FEM solver. You can also get a similar behavior with Vellum.

The good news is that there is one in Houdini :-)

 

Wow this is great. now watching thanks.

  • Thanks 1
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...