|
I know this probably sounds kind of crazy but is there any way to create actual flowing, physics controlled water than has a fixed volume? So that you could have like a lake and then break open one end and let the water start flowing out of it and eventually drain the lake?
(comments are locked)
|
|
Yes it is possible, but you would need to write your own simulation and that would take a boat load of time. And I don't know of anyone who has done it with Unity, but you could implement it yourself and then sell it when you are done. hmm... interesting. Do you have any ideas on how I could go about doing that though? would I have to write a script that creates a water mesh that form fits itself to the landscape with a certain volume? Would that work? Then if it could move in a direction then the mesh grows? Any ideas? Thanks!
May 25 '11 at 06:42 PM
logty
There are plenty of publications on fluid sims out on the web. I don't have any knowledge on the subject so I can't tell you fast or slow for any methods. My first guess would be to implement a voxel like system where you make a grid then determine which points are part of the fluid, then create a mesh around them. Its a complicated project though, that doesn't even account for any physics, just drawing the water.
May 25 '11 at 07:13 PM
Peter G
This would probably be a project to not go at alone as it would consume far to much time. I figure your example of draining a lake is just fictional as that would be done best with lowering a box with a watershader and a particle emitter (in case someone wants to do this).
May 25 '11 at 07:23 PM
save
(comments are locked)
|
