I’m trying to recreate a cylinder being inflated inside a cavity and taking the cavity’s shape. I’ve tried using soft body tag (w/ gravity turned off) on the cylinder but keep getting funky results. Could you please share any tips how to do it?
Attached is a simplified setup of my scene. Originally it was modeled in Solidworks and imported in C4D R26. Also attached are screenshots of expected before and after results.
edit: I think I found a way to do it by using Collision object. I did few tests with an expanding cylinder colliding with a cube and it works fine (see the attached Collision.c4d file). Then I tried with a cylinder expanding inside a shorter tube but there seems to be a glitch and the diameter of the cylinder inside the tube is increased to the size of the ID of the tube and it’s not affected by the scaling animation. The rest of the cylinder scales as expected. (see Collision 2.c4d). Probably I’m missing something but I can’t find a solution to this issue.
Inflation.c4d (769.9 KB)
Collision.c4d (720.2 KB)
Collision 2.c4d (1.1 MB)