Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by user-10823 (google) · Mar 28, 2011 at 11:21 PM · waterliquid

Is it possible to make liquid water in Unity3D?

Is it possible to make water actual liquid not just a moving texture thing?

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

4 Replies

· Add your reply
  • Sort: 
avatar image
5

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.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Matheusfig · Feb 03, 2013 at 01:35 AM

The particle system have a function particle collider use that to do the liquid

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by Velketor · 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) etc

Hope this helps.

Shawn

Comment
Add comment · Show 1 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image user-10823 (google) · Mar 28, 2011 at 11:33 PM 0
Share

i would like the water to like flood a room

avatar image
0

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!

Comment
Add comment · Show 5 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image user-10823 (google) · Mar 29, 2011 at 12:12 AM 0
Share

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 $$anonymous$$ecraft 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.

avatar image Velketor · Mar 29, 2011 at 12:53 AM 0
Share

post your new requests as a different question please

avatar image AngryOldMan · Mar 29, 2011 at 01:32 AM 1
Share

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 $$anonymous$$eith's/unknown (google) disgrace across UA, lol. $$anonymous$$emeber 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 $$anonymous$$d, and exploits because of it, may be

avatar image Justin Warner · Mar 29, 2011 at 01:40 AM 1
Share

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.

avatar image Justin Warner · Mar 29, 2011 at 02:17 AM 1
Share

http://answers.unity3d.com/questions/48720/48728 I'll add this in hopes he checks it out... $$anonymous$$ight help him =).

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

1 Person is following this question.

avatar image

Related Questions

water help, "liquid solid chunk" 1 Answer

Particles or objects are passing if object fast 0 Answers

water physic on android 1 Answer

how can i make fluid or water inside bottle 1 Answer

Water filling container question. 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges