Filling 2d objects(jugs)
Hello, I'm encountering a problem. My game includes jugs that are filled with water and pour into each other. This is my problem: I would like for the amount of water in the jug to be proportionate to my litresContained variable in my script, which says how many litres a jug contains(If a jug has a capacity of 5 and contains 1, I want it to be filled a fifth of the way). My other problem is when the jug pours in another one, how do I make it look like the "water"is pouring out of it into the other one, and the other one fills itself. Are there some kind of tricks to filling objects in these ways? I could also try with animations, but I'd still encounter the problem of pouring...
Your answer
![](https://koobas.hobune.stream/wayback/20220612150146im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
please help water problem 0 Answers
How to simulate adhesion of water? 0 Answers
how can i make subnautica style water???? any help would be appreciated :) 2 Answers
adding velocity to water 0 Answers
Any body know how to do water physics? 0 Answers