Attention | Topic was automatically imported from the old Question2Answer platform. | |
Asked By | Will Nations | |
Old Version | Published before Godot 3 was released. |
Wanting to make a mechanic like Splatoon has.
- 2D or 3D objects
- can manipulate fluids in the environment that have their own texture (they would have a shader perhaps? idk)
- if the fluids overlap with an object, it’s possible to “paint” the fluids texture over the underlying 2D/3D texture.
- There is a way to calculate how much of the object’s area/surface area is covered by the fluid.
- The functionality can account for multiple types of fluids and compare the results (top-most fluids win-out).
I’m not sure how you would actually program the “fluid sticking to object” and “calculate surface area covered” parts. Obviously you should be able to create a fluid dynamics simulation with Bullet or something (though I haven’t learned how you would do that either)…
I think I’ve found something that might be useful: Reddit - Dive into anything
It’s not a complete answer, but at least it shows where you should start.
henriquelalves | 2017-11-30 15:44
Thanks, I’ll look into this.
Will Nations | 2017-11-30 16:22