02-12-2024, 08:50 AM
(This post was last modified: 02-12-2024, 08:51 AM by josemendez.)
(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?
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?
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,