Setup

Table of contents


Fluid Frenzy is easy and quick to set up ready for use with just a few clicks. To set up a scene to use Fluid Frenzy follow the steps below:

Water Simulation

These steps will describe how to set up a fluid simulation that will simulate and render water.

Water Simulation Setup

  1. (Optional) Select the Terrain you want to fluid simulation to interact with.
  2. Add a Fluid Simulation by clicking the GameObject menu and selecting Fluid Frenzy > Create Water Simulation.
  3. You should now have a GameObject in your Scene Hierarchy named WaterSimulation with 4 Components:
    • Fluid Simulation
    • Foam Layer
    • Fluid Flow Mapping
    • Water Surface
  4. If you followed step 1 go to step 5. The Terrain and its settings have been automatically assigned to the Fluid Simulation Component. If you did not follow step 1 you will have to assign the following fields:
    • Dimension: The size of your simulation/terrain domain.
    • Terrain Type: Unity Terrain, Heightmap, Simple Terrain which specifies the type of terrain you wish to use.
    • Terrain/Simple Terrain/Heightmap: The object you want the Fluid Simulation to interact with.
  5. Fluid settings, assets, and materials are automatically created in the folder of your scene. You can tweak these values to your liking.
  6. Add a Fluid Modifier Volume by clicking the GameObject menu and selecting Fluid Frenzy > Fluid Source.
  7. Setup the new Fluid Modifier by placing it in the desired location in the scene and setting up the settings in the Inspector

You now have a functional Fluid Simulation using Fluid Frenzy. Hit Play and see your Terrain being flooded by water!

Terraform Simulation

Terraform Simulation Setup

These steps will describe how to set up a fluid simulation that will simulate god game-like terraforming. The simulation supports fluids of water and lava, erosion and fluid mixing to turn water and lava into rock. In the current version of Fluid Frenzy terraforming only works the Terraform Terrain.

  1. Add a Terraform Terrain to your scene by clicking the GameObject menu and selecting Fluid Frenzy > Terraform Terrain.
  2. Set up your Terraform Terrain by assigning all required settings.
  3. Set up the newly created Terraform Terrain to your liking.
  4. Select your Terraform Terrain and add a Terraform Simulation by clicking Fluid Frenzy > Terraform Simulation.
  5. Fluid settings, assets, and materials are automatically created in the folder of your scene. You can tweak these values to your liking.
  6. Add a Fluid Modifier Volume by clicking the GameObject menu and selecting Fluid Frenzy > Fluid Source.
  7. Set up the new Fluid Modifier by placing it in the desired location in the scene and setting up the settings in the Inspector. You can change the layer to control which fluid the modifier should add to. Layer 1 is Water while Layer 2 is Lava.

You now have a functional Terraform Simulation using Fluid Frenzy. Hit Play and see your Terrain being filled with water and lava!