Jump to content

"up" like balloons setup


MrGAG

Recommended Posts

Hi everyone, I am currently trying go a dig a little deeper into DOPs. They have always scared me a little.

I used a hip file I found on this forum to understand the "apply relationship" Dop. It was very usefull: I have been able to attach a bunch of balloons to some wires pinned to the ground.

The problem is that when the balloons go up in the air, wires are stretched out , applying no resistance at all to the ballons ( they just continu to rise up)

I can't figure out a way to build objects relationships so that my wires affect the balloons.

I hope it's clear

I've attached a hip file.

applyrelationship_concept_01.hip

Link to comment
Share on other sites

"balloons on a string" has been a topic discussed here a few times. I've tried to do it myself a few times, but couldn't get it work.

The DOP network does not support force feedback effects. So things like cloth, constraints and fluids don't feed back forces to RBD that cause circular dependencies. I don't know if that's a good description of the problem, but it's the best way I can think of to describe it.

There is a tutorial in the manual that demonstrates a "hack" to get around this limitation, but it's a complicated process. It's called "popswithrbdcollision". While it shows how to do something unrelated to your setup. It does show how to copy forces from the RBD object to somewhere else, and then have it feed back into the RBD object again. It does this by taking the forces already calculated on the previous frame (which I think solves the circular dependencies problem).

So to do the "balloons on a string". You would need two balloon objects. One that would a RBD responding to the up force, and another driving the pin constraint. You'd need to copy forces between to the two balloons to make it work.

I can picture how it would work in my head, but I haven't had the time to give it a try :)

Link to comment
Share on other sites

hi, thank you for your reply.

I had no idea houdini had such a "limitation". I would have become crazy trying to make it work. :blink:

I will take a look a this "hack" example file.

thanks again :)

Edited by MrGAG
Link to comment
Share on other sites

yeah .... the "popswithrbdcollision" example is a pretty scary one :unsure:

I guess I need to get more comfortable with Dops before digging into this kind of solution.

And I am not even mentionning the fact that I wouldn't know how to adapt this to solve my balloons problem to begin with ;)

Still, I am kind of surprised see that houdini's dynamic engine has some sort of " limitations " !! I thought it could simulate the entire world :P

Link to comment
Share on other sites

Still, I am kind of surprised see that houdini's dynamic engine has some sort of " limitations " !! I thought it could simulate the entire world :P

lol, that's what I thought when I discovered this.

Give it some time. The ability to resolve this kind of problems in Houdini will separate you from the pros and hobbyists ;)

Link to comment
Share on other sites

Hi everyone, I am currently trying go a dig a little deeper into DOPs. They have always scared me a little.

I used a hip file I found on this forum to understand the "apply relationship" Dop. It was very usefull: I have been able to attach a bunch of balloons to some wires pinned to the ground.

The problem is that when the balloons go up in the air, wires are stretched out , applying no resistance at all to the ballons ( they just continu to rise up)

I can't figure out a way to build objects relationships so that my wires affect the balloons.

I hope it's clear

I've attached a hip file.

Create another constraint relation with ballons spring-constrainted to the wire root point.

Either with another relation in same applyrel node and some stamping.

Or like in my example with two constraint nodes.

2Constraints.hipnc

  • Like 1
Link to comment
Share on other sites

  • 3 years later...
  • 4 years later...

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...