DOP: no collision

   4143   4   2
User Avatar
Member
5 posts
Joined:
Offline
Hi,

just getting started with Houdini, so this is probably a quickie for you pros…

I've modeled a simple bowl, placed a few spheres above it, applied gravity and let the spheres fall into the bow. Then wrote the sim into a sim file sequence with the File SOP. Then set the inital state to one of those sim files (so that the spheres are now resting inside the bowl on the first frame).

Then I animated the bowl to tilt, so the spheres are leaving the bowl.

Everything works fine up to this point.

Now I want the falling spheres to hit a flat box. I set the box as a static RBD. But the spheres are falling through it. Setting the max steps > 1 doesn't help either.

Anyone has an idea what is wrong?

Thanks!

dvdmaster

Attachments:
bowl.hipnc (172.8 KB)

User Avatar
Member
460 posts
Joined: July 2005
Offline
HI

you need to generate the initial state inside the dop network with a file dop then load that in the sim tab of the autodopnetwork

also, I got some error in inside the DOP network, just replaced the RDB solver

it works now

Attachments:
bowlCollide.zip (527.9 KB)

varomix - Founder | Educator @ Mix Training
Technical Artist @ Meta Reality Labs
User Avatar
Member
5 posts
Joined:
Offline
Hey varomix,

thank you very much for taking time to check out my scene.

Indeed the problem was lying with the File SOP. I think I've written out the sim files before I added the box and that was the mistake…

Just to make sure I got this right:

1. You first removed the animation on the bowl and reset the initial state
2. Appended a File SOP to write out the sim files
3. Let the sim run until the spheres stand still
4. Set the initial state of the Autodopnetwork to the sim file
5. Reapplied the animation
User Avatar
Member
460 posts
Joined: July 2005
Offline
that's right
varomix - Founder | Educator @ Mix Training
Technical Artist @ Meta Reality Labs
User Avatar
Member
5 posts
Joined:
Offline
Cool. Thanks for again for your help.
  • Quick Links