Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Dismiss Notice

[RELEASED] Liquid Physics Approximation

Discussion in 'Assets and Asset Store' started by Deleted User, Apr 23, 2016.

  1. Deleted User

    Deleted User

    Guest

    Hi everyone.

    My new asset Liquid Physics Approximation has been released on Asset Store.

    This package allow you to create a container with a liquid moved by a simple physics.

    This effect it offer a good visual effect with low performance impact, and include customized liquid weight/density and many more features.

    Store Link

    Demo Build
     
    Last edited by a moderator: Aug 12, 2017
  2. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Version 1.1 has been submitted. Changelog:

    - Script variable placement has been changed to arrange a separated section for every feature of asset (glass settings, liquid settings, and relative patterns and animations type).
    - It's now possible to choose which color use on top liquid face.
    - It's now possible to choose custom bubble patterns to apply in the containers.
    - It's now possible to choose custom static animation patterns of liquid.
    - It's now possible to apply texture gradient on liquid.
    - It's now possible to disable/enable (already implemented) glass translucency pattern, and choose a custom tiling for it.
    - It's now possible to choose custom UV animation patterns for glass translucency, with/without UV direction movement.

    RELEASED!
     
    Last edited by a moderator: Aug 8, 2016
  3. Uranus89757

    Uranus89757

    Joined:
    Jun 20, 2016
    Posts:
    2
    Hi H92,
    Is it possible to adjust the fill amount dynamically with scripts?
     
  4. SpaceRay

    SpaceRay

    Joined:
    Feb 26, 2014
    Posts:
    455
    This seems to be interesting but it seems but the liquid seems to be too rigid, and it looks more like ice moving than liquid
     
  5. Deleted User

    Deleted User

    Guest

    Yes. If you want you can create a new script, with custom math to adjust fill amount (this type of things are possible with all public variable).
     
  6. Deleted User

    Deleted User

    Guest

    A more realistic water movement can be done with particles, but this method use clipping plane to generate that..

    But maybe I can add a further cut to make this more smooth.
     
    Last edited by a moderator: Aug 9, 2016
  7. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Version 1.1.5 has been submitted. Changelog:

    - Fixed a bug where the old bubbles mesh were initially not destroyed.
    - You can now change the liquid pivot.
    - You can now choose the bubbles amount.
    - You can now choose a custom color for bubble pattern.

    RELEASED!
     
    Last edited by a moderator: Aug 8, 2016
  8. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Version 1.2.0 has been submitted. Changelog:

    - Physics animation has been improved.
    - You can now choose between one or double side glass.
    - You can now set liquid opacity.
    - You can now set negative values on patterns speed.
    - Fixed a bug where pivot origin coordinates appeared incorrect.
    - Fixed a bug where glass pattern speed was not working properly.
    - Fixed a bug where static animation at amount "0" was still visible.
    - Fixed a bug where depth cause an excessive cutout of liquid.
    - Fixed a bug where move direction of liquid was wrong.
    - Top color has been deprecated due to visual inconsistency.

    RELEASED!
     
    Last edited by a moderator: Aug 22, 2017
  9. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Version 1.2.1 has been submitted. Changelog:

    - Static animation direction now follow main camera.

    RELEASED!
     
    Last edited by a moderator: Aug 29, 2016
  10. ElectroMantis

    ElectroMantis

    Joined:
    Sep 15, 2013
    Posts:
    78
    I clicked the asset store link and is says the asset is deprecated. That seems a little odd doesn't it?
    This looks so cool though! I'll check back to see when it's available again.
     
    Deleted User likes this.
  11. Deleted User

    Deleted User

    Guest

    Yes sorry for this momentary inconvenient, I have deprecated it because the publication was wrong. Anyway I have already submit a correct package, which will be available in a few days (or hours).
     
  12. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Liquid Physics Approximation it's again available, and version 1.21 has been released.
     
    ElectroMantis likes this.
  13. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Version 1.2.3 has been submitted. Changelog:

    - Fixed a bug where liquid amount not change on different mesh bound size.
    - Fixed a bug where initial liquid direction was not equal to zero.

    RELEASED!
     
    Last edited by a moderator: Sep 1, 2016
  14. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Version 1.2.5 has been submitted. Changelog:

    - Fixed a bug where the arcing slicing effect was not affected by object scale.
    - Liquid direction improved.

    RELEASED!
     
    Last edited by a moderator: Sep 30, 2016
  15. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Version 1.2.6 has been submitted. Changelog:

    - Fixed a bug where scale bound math not working in world space.
    - You can now customize the power of arcing slicing effect (density direction variable).

    RELEASED!
     
    Last edited by a moderator: Oct 13, 2016
  16. YujenDev

    YujenDev

    Joined:
    Oct 21, 2014
    Posts:
    7
    Hi H92
    I use unity 5.3.6f1, and plugin 1.2.5
    But the shader seems broken, is there need to change any settings?
     

    Attached Files:

  17. Deleted User

    Deleted User

    Guest

    Version 5.3.6 is not more supported. You must upgrade to 5.4.1.
     
    YujenDev likes this.
  18. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Version 1.2.7 has been submitted. Changelog:

    - Fixed a bug where liquid volume not correctly change during object rotation.

    RELEASED!
     
    Last edited by a moderator: Oct 18, 2016
  19. gwcreative

    gwcreative

    Joined:
    Oct 18, 2016
    Posts:
    1
    I would like to have a completely invisible container and transparent liquid. However, I can't seem to figure out how to achieve liquid transparency. Any pointers? Also; is it possible to use other shaders like the Standard shader for materials? Thanks!
     
  20. Deleted User

    Deleted User

    Guest

    At the moment you can't change opacity of glass or liquid (I understand well?), but I can implement it in the next version.

    About standard shader, nope, you can't use this like material, because this shader doesn't contain mesh clip code
     
  21. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Version 1.2.8 has been submitted. Changelog:

    - You can now set trasparency of: glass, liquid and bubbles pattern.

    RELEASED!
     
    Last edited by a moderator: Nov 15, 2016
  22. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Version 1.2.9 has been submitted. Changelog:

    - Multiple bubbles mesh has been deprecated due to visual inconsistency.
    - Various bugfix on bubbles system.
    - You can now set bubbles rotation in x and y axis.

    RELEASED!
     
    Last edited by a moderator: Nov 22, 2016
  23. BMayzak

    BMayzak

    Joined:
    Nov 7, 2016
    Posts:
    22
    Using this in Unity Beta 5.5.0f2 and it works really well! Few pieces of feedback that would make this product even better:

    1) Is there any way to simulate lighting based on ambient light and a rough approximation of shadow at the origin of the liquid? I don't need 1 : 1 lighting, which I imagine would ruin performance, but right now I can't use it in really dark levels because the liquid stays the same lighting regardless of what is around it. In a pitch dark scene I can clearly see the liquid from a distance when it should be dark.

    2) I can't seem to get bubbles to work yet. When I turn them on I just see a pink fill where I imagine the shader would be; I imagine this is because I'm using Beta 5.5 (or doing something stupid), so I imagine this is a temporary thing

    Thanks for the hard work, looking forward to future updates!
     
  24. Deleted User

    Deleted User

    Guest

    Hi.

    1) Yes, seems that I have forgot to sum liquid color to light/ambient color. Anyway I will check this.

    2) This instead seems a shader problem (obviously). Maybe you must wait another Unity beta, in every case I will try to fix also this.
     
  25. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Version 1.3.0 has been submitted. Changelog:

    - Color of cruet and liquid it's now based on light color.

    RELEASED!
     
    Last edited by a moderator: Dec 1, 2016
  26. BMayzak

    BMayzak

    Joined:
    Nov 7, 2016
    Posts:
    22
    Wow thanks so much!! Going to make good use of this asset. Thank you for all your hard work
     
  27. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Christmas Update Version 1.3.2 has been submitted. Changelog:

    - Foam effect has been added.
    - Internal smoke effect has been added.
    - Fixed a bug on minimum liquid amount.
    - Fixed a bug where liquid bubbles material doesn't work properly.
    - You can now choose UV speed and tiling of liquid gradient.

    RELEASED!
     
    Last edited by a moderator: Dec 30, 2016
  28. tanru

    tanru

    Joined:
    Jun 22, 2013
    Posts:
    6
    Hi H92 -

    I bought your asset today. I am trying to apply the ContainerManager to a cylinder but I am getting very strange results. By default (Amount = 0.5) the container already looks full, and if I bring amount to 0 then it is about half full.

    I've tried moving the pivot but I'm not able to find settings where the container looks both empty at 0 and full at 1.

    Any hints appreciated!
     
  29. Deleted User

    Deleted User

    Guest

    I will check soon or tomorrow.
     
  30. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Version 1.3.3 has been submitted. Changelog:

    - Amount offset calculation has been rewritten.

    RELEASED!
     
    Last edited by a moderator: Jan 14, 2017
  31. tanru

    tanru

    Joined:
    Jun 22, 2013
    Posts:
    6
    Works better with a cylinder now, thank you!

    I'm trying to come up with a way to simulate pouring the fluid out of the container - is there any way to identify the point where the fluid comes in contact with the top of the container?
     
  32. Deleted User

    Deleted User

    Guest

    You can create a cruet parent object, that move local Y-axis (and also in X and Z axis to improve distance recognition) following mesh surface with raycast.
     
    Last edited by a moderator: Jan 25, 2017
  33. tanru

    tanru

    Joined:
    Jun 22, 2013
    Posts:
    6
    Good idea, thanks a lot for the quick reply!
     
  34. Deleted User

    Deleted User

    Guest

    You're welcome ;)
     
  35. kreso

    kreso

    Joined:
    Sep 7, 2013
    Posts:
    133
    Hello H92,

    congrats on a neat looking asset. And I see you are very active in updating it and responding to comments. All great things!

    I am planning to use it for a box that will be thrown in the air, and will then land back on the plane.
    While in the air it will rotate around 1 axis, before finally landing with some amount of force.
    I just need to hint that there is liquid inside the box, it doesn't have to be real-life liquid result.
    I am curious, do you think I can use this asset for my situation?

    Thanks a lot!
    Kreso
     
  36. Deleted User

    Deleted User

    Guest

    I can not say what exactly do you search for your project, I can only tell you to view the demonstration video in this thread and make your choice. Or to buy the asset and request a refund if it is not to your liking. :)
     
  37. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Version 1.3.4 has been submitted. Changelog:

    - Shaders has been updated with Shader Forge 1.35 (that include the meta pass for light bounce).
    - Added options Metallic and Roughness.
    - Files structure has been updated without "Standard Assets" folder.

    RELEASED!
     
    Last edited by a moderator: Apr 3, 2017
  38. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Version 1.3.5 has been submitted. Changelog:

    - Shaders has been updated with Shader Forge 1.37.
    - Added option to completely hide glass.
    - It's now possible to disable the static animation by removing the pattern.
    - Various bugfixing and performance improvements.
     
    kreso likes this.
  39. EricBoisvert

    EricBoisvert

    Joined:
    Mar 21, 2016
    Posts:
    4
    Hi, the asset seems interesting, are there any videos of it in action?
     
    VIC20 likes this.
  40. Deleted User

    Deleted User

    Guest

    I had some problems with videos. If you want buy it and try, and after do a chargeback.
     
  41. Beseke53

    Beseke53

    Joined:
    Aug 5, 2017
    Posts:
    1
    Advising someone to buy your product instead of spending a little time on promo video, Epic fail.
     
  42. Deleted User

    Deleted User

    Guest

    There was a video before, but I had some problems with the account on which it was hosted.

    At this point I will build a demo scene and update the main post...
     
  43. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Version 1.3.6 has been submitted. Changelog:

    - Various buxfing in runtime.
    - Added a Demo Build (first page).

    RELEASED!
     
    Last edited by a moderator: Oct 23, 2017
  44. joe_shields

    joe_shields

    Joined:
    Jan 6, 2016
    Posts:
    5
    Should this work on iOS?
     
  45. Deleted User

    Deleted User

    Guest

    I haven't an iOS device, so not know.

    But on ShaderForge there is the support for Metal, so I presume that can work.
     
  46. yuliwei

    yuliwei

    Joined:
    Aug 19, 2017
    Posts:
    22
    Hi, It looks like the material and animation don't work in Arkit. When I build it in iOS, all material becomes default grey solid material and there is no animation or flowing water.
     
  47. yuliwei

    yuliwei

    Joined:
    Aug 19, 2017
    Posts:
    22
    I tried in ARkit, it won't work in ARkit.
     
  48. Deleted User

    Deleted User

    Guest

  49. Deleted User

    Deleted User

    Guest

    Hi everyone.

    Version 1.3.7 has been submitted. Changelog:

    - Fixed a bug where container appeared destroyed and reported on console.
    - Added a bool value to enable or disable light color on container.

    RELEASED!
     
    Last edited by a moderator: Oct 24, 2017
    popuz likes this.
  50. byron-devika

    byron-devika

    Joined:
    Sep 7, 2017
    Posts:
    1
    Can anyone confirm if this will work on Android or iOS?
    I'm looking to simulate liquid physics inside a bottle and/or cup with a rigidbody.
     
    outerder likes this.