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.
- (Optional) Select the Terrain you want to fluid simulation to interact with.
- Add a Fluid Simulation by clicking the GameObject menu and selecting
Fluid Frenzy > Create Water Simulation
. - You should now have a GameObject in your Scene Hierarchy named WaterSimulation with 4 Components:
- Fluid Simulation
- Foam Layer
- Fluid Flow Mapping
- Water Surface
- 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.
- Fluid settings, assets, and materials are automatically created in the folder of your scene. You can tweak these values to your liking.
- Add a Fluid Modifier Volume by clicking the GameObject menu and selecting
Fluid Frenzy > Fluid Source
. - 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
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.
- Add a Terraform Terrain to your scene by clicking the GameObject menu and selecting
Fluid Frenzy > Terraform Terrain
. - Set up your Terraform Terrain by assigning all required settings.
- Set up the newly created Terraform Terrain to your liking.
- Select your Terraform Terrain and add a Terraform Simulation by clicking
Fluid Frenzy > Terraform Simulation
. - Fluid settings, assets, and materials are automatically created in the folder of your scene. You can tweak these values to your liking.
- Add a Fluid Modifier Volume by clicking the GameObject menu and selecting
Fluid Frenzy > Fluid Source
. - 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!
- Previous
- Next