Is "liquid simulation" possible in Godot?

Godot Version

4.4

Question

Is something like this possible? https://www.youtube.com/watch?v=7_EsoIxTsbA

See how the body of fluids roll around the world?

Not with shaders, and fluid simulation isn’t supported by the engine. And looking at the (very old) proposal to add it, I don’t think that’s going to change.

There is this GDExtension which seems promising, it hasn’t been updated in a while though:

1 Like

Yes, if you use the Rapier Physics extension.

1 Like

@dragonforge-dev

Thank you for your suggestion. I’ve tried that in 3D. The documentation they provided is 2D only, and so far, I am half way through their document, but I am also not sure if their 3D part is finished? It seems the points created for Fluid3D is always 7 no matter how many points you created in the editor:

I created just 1 point here:

But I got 7 points:

Here is from Remote Debug, it has 7 points out of nowhere:

Because of this, this is probably no-go for me now. I am not sure if I am at fault or if there are something else at fault.

@yesko

Thank you for your suggestion.

I see the author has moved on to create another repo on top of that here: GitHub - thompsop1sou/freezable-fluid-sim: Real-time, freezable fluid simulation in Godot

But the author seems to not update it for a while too.

So I guess this is no-go too.

Bummer. I’ve only used Rapier for 2D in one game so I didn’t know it didn’t work in 3D.