Hello,
I am wandering how can I create in Unity simulation for transfer of water from one glass cup to another?
So the cup which is full should be raised and tilted to the other cup. In the tilted cup the liquid should change its position and should start running to the other cup.
In general this process of leaking could be achieved with particles. I think the main problem is how to move the liquid in the cup when it is going to be tilted?
Upper border of the liquid should be parallel of the ground plane all the time.
First rule of game programming: cheat. You don’t need a fluid simulation for this. The water doesn’t actually have to move. It just has to look like it’s moving.
First off, you’ll need an object that looks like water in both the bottom and top glass. Then make a particle system that shows water falling from the top glass into the bottom. At the same time, scale down the “water” in the top glass and scale it up in the bottom. When the top glass is empty, turn off the particle system.
The last issue is the ground-plane-parallel thing. Not sure how to do that off the top of my head. (and reading this post a little bit closer I think it’s the main thing you were asking… sorry)
hi, i’m so glad to find this talk cause i am looking for the same solution for some days. And i am wondering where could i get a demo of your solution. I really need it, can you share some solution with me?