[RELEASED] Magic Potions with Liquid Simulation

Magic Potions with Liquid Simulation
Purchase Magic Potions Here


Please view gif demonstrations at the bottom of this post.

What is Magic Potions with Liquid Simulation?
Magic Potions is an asset pack created to allow users to quickly implement magic potion bottles with liquid simulation; bottle pouring into and out of one another, bottle smashing and animated liquid textures into their own projects. The asset pack comes with 3 easy to use shaders and many simple scripts + documentation to help you quickly create your own bottles with liquid simulation.

How does it work?
Using the scripts and shaders we have provided, users that wish to create their own bottles will simply need to create a glass mesh, cork mesh (optional), liquid mesh, label mesh (optional) and if they want bottle smashing capabilities – a shattered glass mesh. Once these assets are provided, the user simply places the assets into the scene following one of the the 7 example prefab hierarchies, attaches the scripts provided and references transforms/ prefabs into the attached scripts where required.

After this process is completed, users will be able to adjust the many settings provided to display the bottles they have created how they like.

Some easy customizations we have allowed for via our scripts are:

  • Liquid ‘thickness’ levels (a.k.a how much the liquid moves in relation to rotation/ acceleration)
  • Liquid colour (can be auto set from liquid pouring combinations or set via a colour picker)
  • Pouring particle amount (how many particles emit from a liquid volume during pouring)
  • Shatter speed (the minimum speed at which a bottle must decelerate to shatter on collision)
    • many more

What are some potential use cases?
We feel this pack will be great for people who:

  • Require liquid simulation in containers for VR games
  • Building a puzzle game around liquid volumes that track things like liquid colour, volume fill level, smash events or pouring from one volume into another
  • Are seeking 7 pre-made bottle props to decorate a level (simply remove the liquid simulation scripts if you don’t require them)
  • Are looking for liquid or glass mesh shaders (provided in this pack)




Documentation

Support Email
Website

Twitter

Kind regards,

Jair McBain
Co-Director of 2Ginge

3 Likes

Hi, It looks like the material and animation don’t work in Arkit plugin.

We’ve added a tutorial video to show you whats in the pack in detail, as well as how it all works! You can find this here:

Hey, thanks for getting onto us VIA email as well as here. I know we’ve spoken about it, but for anyone else who is interested, I’ll post my response here too:

ARKit and iOS was not our intended platform for this tool at first, so as such the shader is too complicated for iOS to run as it is. We’re taking a look at adding a mobile version of the shader for an update coming soon, but it is possible this shader will need to be simplified drastically to accommodate for this. For example in this shader the texture overlay on cut-off surface may not doable, likewise with the volume overlay or volume distortion/ transparency (coming this week in the update).

We’re trying to see how much of the main shader functionality we can keep with a mobile version and will update here when we have some progress to share on that front.

UPDATE: VERSION 1.2 IS AVAILABLE NOW HERE

Changes:

  • Added transparency to liquid volume
  • Added distortion to liquid volume (when looking through it at other objects it now distorts like water does)
  • Added gravity direction variable (flip gravity if you like)

UPDATE: VERSION 2.0 IS AVAILABLE NOW HERE

Included in this update is:

  • A mobile compatible potion liquid volume shader with ARKit compatibility
  • A mobile-ready potion prefab
  • A workshop demo scene with pick up and drop scripts on potions so users can experience a potential use case and view potion features in situ
  • Workshop demo scene assets included
  • Material clean up (removed unnecessary materials to reduce download size)
  • Cleaned up demo folder for easy removal when done setting up your own potions
  • Improved documentation detailing new features
  • Shortened name from ‘Magic Potions’ to simply ‘Potions with Liquid Simulation’ in store

Demo workshop scene in action below!

what should I do if I want to make the color of the liquid layer, for example, the top half is red and the bottom half is blue? There is whether it supports VR use it? These questions affect whether I buy it or not

UPDATE: HUGE VERSION 3.0 UPDATE NOW AVAILABLE HERE

Included in this update:

  • Full set of mobile potion prefabs (with and without labels)

  • New pouring scripts that generate vertices which emit the pouring particles more accurately

  • New absorbing script which stays with the liquid surface as it scales

  • New collision set up to allow particles poured from one bottle to enter another bottle neck and hit the liquid surface

  • New asset layout scene with all variants of potions for testing/ example set up purposes

To reflect the additional content we have raised the price of the pack, but will shortly be running a sale to celebrate the update. We will link back here when the sale begins.

Thank you for checking in!

Jair
2Ginge