27-04-2025, 10:52 PM
(This post was last modified: 27-04-2025, 11:57 PM by scoull.
Edit Reason: Delete external link
)
(27-04-2025, 10:24 PM)josemendez Wrote: Hi,Hi Jose,
Attachments aren’t designed to work with fluid. The reason is that giving infinite mass (which is how static attachments work) to a fluid particle also makes it infinitely dense. May I ask what your use case is?
Kind regards,
Thanks for the quick reply. I am working on a game where you put sauce onto objects, so I want to be able to freeze particles once they reach the object so that they don't move until killed.
I already have a solution working for this using a modification of your sleepthreshold code, freezing the particles in solver space, but this means I have to move the solver around along with the frozen particles, thus I can only have sauce frozen to one moving object at a time.
Edited to say: Issue is solved as attachments are not designed for fluids. My existing solutions works fine.