Hello everybody. Guys, I want to create a game like sorting bottles of liquid. Game example. I have a problem with this game and I cannot solve it myself. The problem is how to control the level of liquid in each flask. I tried a lot of method but none of them was successful. I think the level of water I can control with a shader, but don’t completely understand how. Can you advise me something to solve this problem? How should I control the level of liquids?
Looks like some kind of 2D liquid simulation clipped to only be within the test tube. The pouring looks like it’s just a straight line. I suppose a good place to start would be some tutorials on 2D water. Some methods may be more or less suitable to easy clipping to a test tube or other arbitrary shape.