Is it possible to tween between softbody and fluid? - Printable Version +- Obi Official Forum (https://obi.virtualmethodstudio.com/forum) +-- Forum: Obi Users Category (https://obi.virtualmethodstudio.com/forum/forum-1.html) +--- Forum: Obi Softbody (https://obi.virtualmethodstudio.com/forum/forum-12.html) +--- Thread: Is it possible to tween between softbody and fluid? (/thread-4418.html) |
Is it possible to tween between softbody and fluid? - bobby - 01-12-2024 Is there any property that can be tweaked to make softbody behave more/less like a fluid? I would like the ability for a substance to become jelly-like or liquid-like or somewhere in between at runtime. Also, is it possible for 2 softbodies to merge together when they get close to each other? RE: Is it possible to tween between softbody and fluid? - josemendez - 02-12-2024 (01-12-2024, 10:06 PM)bobby Wrote: Is there any property that can be tweaked to make softbody behave more/less like a fluid? Hi there, The answer to both questions is no. Softbodies and fluids are fundamentally different: In a softbody, particles are held together by shape-matching constraints that connect them to their neighbors. This means the neighbors of a particle are always the same and can't change at runtime, which disallows any kind of flowing motion, cutting/tearing, or merging. In a fluid, particles are not explicitly connected in any predetermined way: they rebuild their neighborhood every frame, calculate a density value, and generate pressure and surface tension forces to try and keep the local density constant. kind regards, |