Hello. I found some old scripts in my physics place for fluid simulations. I haven’t commented much of it or anything yet, but I hope someone finds it useful. I will eventually add more physic scripts to the repository.
You can create many different looks for the fluid simulation, maybe even make things interact with it.
It is too cool not to share.
Please do share if you make anything with it! I feel like fluid simulations are really cool.
Yeah I mean it is just a random little fun thing, but I am sure someone can implement it for something practical. The 3d one I included is pretty laggy though, would be cool if someone figured out how to optimize it.
I’m not sure how unity optimizes their physics systems (fabric, fluid, 2d shadow casting (I really like that one)), but Roblox needs to take a page out of their book because using parts to emulate fluid is very inefficient xd.
I’ve been looking way for a way to make something like this for a long time! this is going to help me a lot, thanks so much! you are very smart to figure out how to make this.
I made this two years ago lol, but based on what I can see, make a server script with the content of “fluid.init.lua” and inside it, put module scripts with the contents of “2d.lua” and “3d.lua”