Is it possible to make water actual liquid not just a moving texture thing?
Answer by Statement
Mar 29, 2011 at 01:03 PM
Yes, and there are many different ways of achieving liquid water but I think the most common approach would be to use point particles which you plug into to a marching cubes algorithm to generate the triangles through the scalar field the particles make up.
Each particle would repel other particles a bit while still attracting them somewhat to get a fluid stickiness. You'd have to heavily optimize it and work on a rather limited set to be able to run this realtime.
To finally give the generated mesh some water feeling you'd probably want to add some sort of water refraction shader.
You'll have to scour google for more information about implementing the various steps.
Answer by Matheusfig
Feb 03, 2013 at 01:35 AM
The particle system have a function particle collider use that to do the liquid
Answer by shawnkilian
Mar 28, 2011 at 11:28 PM
You can make realistic water in your favorite 3D app and export it as an .fbx with animations baked. Import into Unity and hit play (make sure play automatically is checked)...otherwise, you need a script to access the actual animation.
and it's best to name them like this:
water@idle (these can be .fbx files, Maya files, or 3ds Max files...and other 3D apps too)
water@splash (these can be .fbx files, Maya files, or 3ds Max files...and other 3D apps too)
water@drain (these can be .fbx files, Maya files, or 3ds Max files...and other 3D apps too)
Hope this helps.
i would like the water to like flood a room
Answer by Justin Warner
Mar 28, 2011 at 11:47 PM
Going by the room flood comment... Not going to happen, or easily I should say...
Check out: http://www.youtube.com/watch?v=QECUbMEIxhw
It's not with Unity, but you get the same response.... Water will have to be done with shaders for the look... As for actually moving, as Shawn said, you're going to have to model it actually coming out of the water, in to the room, and "flooding" it... It's not going to be an easy scripting job... On top of that, realistic water is very complex, and being so, it might be more than the 65000 (I believe that's the max) limit of polys... The best way to get around the block is to think of weird ways to bypass it... Maybe someone else'll post a way to do this, but doubt it...
Good luck though none-the-less!
alright thank you lots for answering my question it was very helpful now i need some other stuff to Finish my game like a grid or something to place blocks like minecraft i remember of questioning something like that dont know? i wish there were more people like you by answering my questions by a helpful answer and thanks again yea its way to hard to make water flood a room man lol.
post your new requests as a different question please
don't ask that!!!! he is a spam artist http://answers.unity3d.com/questions/48883/unity-3d-grid-system-script check out Statements documentation of Keith's/unknown (google) disgrace across UA, lol. Memeber for 3 days, asks 12 questions 9 of which are the same question, then after getting pretty much no where with it changes his alias/log in and asks it again. Then again in a comment box, please don't encourage him as ammusing as his tiny little mind, and exploits because of it, may be
And the improper english pisses me to bits, and also the bad question titles... Didn't know it was him again =P, BUT he did ask an actual question this time... so it kinda was an improvement... Haha.
http://answers.unity3d.com/questions/48720/48728 I'll add this in hopes he checks it out... Might help him =).
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a site navigation guide.
If you are a new user to Unity Answers, check out our FAQ for more information.
Make sure to check out our Knowledge Base for commonly asked Unity questions.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
Answers and Comments
1 Person is following this question.
water help, "liquid solid chunk"
Particles or objects are passing if object fast
water physic on android
Water filling container question.