Go back to documentation on product:

Zibra Effects

Zibra Liquid

<aside> đź’ˇ If you want to have a Zibra Liquid instance pre-filled on startup you will need to use Initial State baking.

After baking, the Zibra Liquid instance will remember its initial state and will start simulation from it. Note that we do not support baking animation, simulation over time, etc. Simulation itself is always performed on the device in real time, only the initial state is baked.

Initial State Baking will simulate the first N seconds of your liquid instance, save it, and simulation in play mode will start from that point.

Note that after changing some parameters you’ll have to rebake your liquid, specifically: Grid Resolution, Container Size (in case you changed the size non-uniformly, and as a result changed the Effective grid resolution), Max particle count (in case your baked state has more particles that the current max number).

</aside>

To bake initial state:

  1. If you haven’t already, add all emitters, voids, and colliders that you are going to have to your liquid.

  2. Open the baking utility and select your Zibra Liquid instance to bake.

    1. Open the Zibra Liquid Inspector and set Initial State to “Baked Liquid State”.

      https://lh7-us.googleusercontent.com/qqC-ZkSN4Qwnj9uvHFMb3JB8TWev29T-joi7QF1bTOvCHzUzD4KL-wIAvamB__oxmCWnQPlyjYf43wXy5ddPs6HGVQurfusV9j0qPU9LOQ-yI_Phsnx6UKse4SUALn0cghJ6DroY5PyOIhk9LQQgQak

    2. Press “Open Zibra Liquid Baking Utility”

      https://lh7-us.googleusercontent.com/rCKeNFbWqN7c4WOmBy7_XmnVd4qTll9tKUcxpGiayq2GYjbppK3foFAa3SIdozWRsW1eWaYgANfVonIBzSO2NY7Bno2IGYoOLrTq9kBBO1jcvdsH-gZyplHw3QIcx5BtbzJ_vXkCWzSMl6_s8THSnjI

  3. Now you see the Baking Utility window

    https://lh7-us.googleusercontent.com/WcMqm5ITYEXCf4GoX37YdX-C6guK-bixNXMAH0uXp9bmZsRtsmdHoJWSCQDHkO08hGe7P1T4gZudTaCQB4CizMabTH3hqVfH9YCJEtXPjDaTx4tarR5XpwNqp-2UTX9Yu7riF6hivKEFyXDknFnOqqg

  4. Set the Simulation time to the number of seconds you want to simulate.