Skip to content

Quick Start

One short recipe per system. Each one ends with a link to the full guide. Check the project requirements first: the plugin must be enabled, and pools and river obstacles need Generate Mesh Distance Fields.

  1. Drag BP_DynamicRealWater (DynamicRealWater Content > Blueprints) into the level. Use this Blueprint, not the bare C++ class.
  2. Set its location to X = 0, Y = 0, Z = 0. The ocean is designed to sit at sea level (Z = 0). With Infinite Ocean on, the depth map and surf line up only when it is at X = 0, Y = 0. The setup check warns otherwise.
  3. To change the sea state, set Wind Speed, Wind Direction and the swell on the actor itself. To reuse a sea state, put it in a Wave Data Asset (the plugin ships DA_DefaultWaves) and assign it to Wave Data Asset.
  4. Press Play. The depth map and the surf on your landscape’s shores are baked when play begins, so the editor viewport shows no surf until then.

Next: Setting up the ocean and Shoreline surf.

The fastest way is to drop a shipped prop such as BP_FloatCube (Blueprints > BuoyantActors) on the water. To make your own actor float:

  1. Add a DRW Physics Body component and set Target Component Name to the name of the mesh component that should float.
  2. Add shapes (boxes, spheres or capsules) that cover the mesh, and give each one a material. Add Air shapes inside hollow parts.
  3. Add a DRW Buoyancy component to the same actor.
  4. Press Play. DRW Buoyancy turns on physics simulation for the actor’s root mesh by itself; if the floating mesh is not the root, turn on Simulate Physics on it.

Next: Making objects float and Approximating a hull with physics shapes.

  1. Drag BP_DRW_River into the level, over a landscape.
  2. Edit its spline so the first point sits on the water at the source and the last point at the mouth. Points in between are waypoints.
  3. Turn on Show Trace Preview to see where the river would run, then click Apply Trace (Details panel, DRW River) to fit the spline to the channel in the terrain.
  4. Optionally turn on Carve Landscape to cut the channel into the landscape on its own edit layer. Turning it off returns the terrain exactly as it was.

Next: Rivers and River flow and its settings.

  1. Drag BP_DRW_Lake or BP_DRW_Pool into the level.
  2. Set its size in the Details panel.
  3. Make sure a Visual Data asset is assigned (DA_WB_Lake_Visual or DA_WB_Pool_Visual). Without one the setup check warns that the water keeps its material defaults.

Next: Lakes and pools.

Nothing to set up. While the level has an ocean or a water body, the underwater look is added to the pawn each local player controls (Project Settings > Plugins > Dynamic Real Water > Auto Add Underwater, on by default). It shows only while playing, not in the editor viewport.

Next: Underwater.

  1. Open World Settings and set GameMode Override to BP_DRWGameMode, so you spawn as the drone (BP_Drone).
  2. Place BP_Runabout (Blueprints > Pawn > Vessels > Runabout) on the water.
  3. Press Play. Fly with W A S D and the mouse, E and Q to go up and down, and hold Left Shift to fly faster.
  4. Fly close to the boat and press F to take control. Drive with W / S (throttle) and A / D (steering). Press F again to leave.

While flying the drone, 1, 2 and 3 blend the ocean to the wave assets in the drone’s three wave slots (all DA_DefaultWaves in BP_Drone; assign your own for different sea states).

Next: Your first vessel.