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.
- Drag
BP_DynamicRealWater(DynamicRealWater Content > Blueprints) into the level. Use this Blueprint, not the bare C++ class. - 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.
- 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. - 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.
A floating object
Section titled “A floating object”The fastest way is to drop a shipped prop such as BP_FloatCube (Blueprints > BuoyantActors) on the water. To make your own actor float:
- Add a DRW Physics Body component and set Target Component Name to the name of the mesh component that should float.
- Add shapes (boxes, spheres or capsules) that cover the mesh, and give each one a material. Add Air shapes inside hollow parts.
- Add a DRW Buoyancy component to the same actor.
- 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.
A river
Section titled “A river”- Drag
BP_DRW_Riverinto the level, over a landscape. - 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.
- 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.
- 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.
A lake or a pool
Section titled “A lake or a pool”- Drag
BP_DRW_LakeorBP_DRW_Poolinto the level. - Set its size in the Details panel.
- Make sure a Visual Data asset is assigned (
DA_WB_Lake_VisualorDA_WB_Pool_Visual). Without one the setup check warns that the water keeps its material defaults.
Next: Lakes and pools.
Underwater
Section titled “Underwater”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.
Drive a boat
Section titled “Drive a boat”- Open World Settings and set GameMode Override to
BP_DRWGameMode, so you spawn as the drone (BP_Drone). - Place
BP_Runabout(Blueprints > Pawn > Vessels > Runabout) on the water. - 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.
- 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.