Mixing rigid body and soft body

   2177   3   2
User Avatar
Member
2 posts
Joined: 12月 2022
Offline
I have a light bulb in a scene that is supposed to fall and hit the ground, but the glass should behave like a soft body instead of shattering.
My problem is that I cannot figure out how to make part of the bulb (base metal and coils) a rigid body and make the glass a soft one.

I've tried in vellum constraints to control bend and stretch stiffness via attribute with no luck. The base will not go rigid enough even with high substeps.

I also tried with two solvers, though the bulb parts will not stay connected together.

The project file, along with the bulb alembic, is attached.

kindly advice

Attachments:
Bulb_v03.zip (1.8 MB)

User Avatar
Member
2528 posts
Joined: 6月 2008
Offline
It's not true RBD and Vellum, but you can simulate only your softbody group while pinning it to the rigidbody group. Then you can animate the rigidbody group to drag the softbody around. Add a shape match constraint to prevent total collapse. Not sure what your final look is.

Attachments:
ap_Bulb_v04.hiplc (830.2 KB)
light_bulb_vellum.gif (132.8 KB)

Using Houdini Indie 20.0
Ubuntu 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
2528 posts
Joined: 6月 2008
Offline
With that part working, there's no reason you couldn't simulate the rigidbody group. After the simulation, copy the softbody group to the center point of the RBD simulation result. Use the same pinning technique and merge the RBD mesh animation into the Vellum sim. This case demonstrates using the shape match to keep most of the original bulb shape.

Attachments:
light_bulb_vellum.gif (138.4 KB)
ap_Bulb_v04.hiplc (838.7 KB)

Using Houdini Indie 20.0
Ubuntu 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
User Avatar
Member
2 posts
Joined: 12月 2022
Offline
Enivob
With that part working, there's no reason you couldn't simulate the rigid body group. After the simulation, copy the soft body group to the center point of the RBD simulation result. Use the same pinning technique and merge the RBD mesh animation into the Vellum sim. This case demonstrates using the shape match to keep most of the original bulb shape.

Thank you, Enivob. That's a great way of thinking.
So actually, It's two separate solvers pinned with a transform and copy-to-point.
Appreciate your time and effort on this.

Cheers
Happy new year
  • Quick Links