Water bodies vs ocean
DRW has two kinds of water:
- The ocean: the
BP_DynamicRealWateractor, a Grid Manager. It simulates wind waves and swell, breaks them into surf on the shore, and, with Infinite Ocean on (the default), fills the view to the horizon. A level uses one ocean. - Water bodies: rivers (
BP_DRW_River), lakes and pools (BP_DRW_Lake,BP_DRW_Pool). Each is a bounded piece of water with its own look and settings. Place as many as you need.
They are made to be used together: a river can run down a valley into a lake, out of it again and into the sea.
What each one supports
Section titled “What each one supports”| Ocean | River | Lake | Pool | |
|---|---|---|---|---|
| Surface height | Wind waves and swell with 3D displacement | Follows the river’s slope, with standing waves, cross-waves, jump rollers, rock wakes, banking in bends and junctions | Flat | Flat |
| Fine surface detail | Part of the waves | River ripples (visual) | Lake waves (visual) | None of its own |
| Surf on the shore | Yes | No | No | No |
| Current | Wave motion, plus the outflow of rivers that reach the sea | The river’s current, eddies and wakes | Currents of inflowing and outflowing rivers | Currents of connected rivers |
| Foam | Breaking crests, drifting downwind | From rapids, jumps, crests, rocks, banks and junctions | From floating objects | From floating objects |
| Ripples and wakes from floating objects | Yes | Yes, near the camera | Yes | Yes, reflecting off the walls |
| Caustics and underwater view | Yes | Yes | Yes | Yes |
| Floating objects | Yes | Yes, carried by the current | Yes | Yes |
| Water queries | Answer trails by one or two frames | Immediate | Immediate | Immediate |
| Size | Fills the view | As long as its spline | Round, set by Radius | Rectangular, Width by Length |
| World Partition | Always loaded | Streams with its cell, HLOD far away | Same | Same |
A query on the ocean answers one or two frames late and is not valid on the very first call. Rivers, lakes and pools answer at once.
Which one to use
Section titled “Which one to use”| You are making | Use |
|---|---|
| An open sea, a coast with surf, sailing and boats in waves | The ocean |
| A stream, a river, rapids, a canyon, a canal with a current | A river |
| A mountain lake, a pond, a reservoir | A lake |
| A swimming pool, a fountain, a flooded room, a harbor basin with walls | A pool |
| A river reaching the sea | A river whose last point reaches below sea level, plus the ocean |
| A lake drained by a river | A lake, plus a river whose first point starts in the lake |
Lakes and pools are still water: use the ocean wherever you want real waves to move boats, and a river wherever the water should flow.
How they work together
Section titled “How they work together”Floating objects. A water body always comes first. An object inside a river, lake or pool floats on that body, even where the ocean is also present; an object that no water body holds floats on the ocean. Objects pass from body to body by themselves: down a river into the lake or river it flows into, from a lake into the river that drains it, between a tributary and its main river, and out of a river mouth onto the sea, where the river’s outflow still pushes them. See Floating objects between lakes, pools, rivers and the ocean.
Water queries. Get Water Surface At Location works on all of them. It answers from a river, lake or pool at that spot first, and from the ocean otherwise.
Rivers into the sea. A river whose bed at its last point lies below the ocean’s level flows into the sea by itself. The sea lies calm under the river and its plume, the river’s color carries out into the sea, its outflow pushes floating objects, and the ocean’s depth and shoreline treat the river channel upstream of the mouth as land, not sea. The sea shows the plume and calm water of up to eight rivers.
Rivers into and out of lakes and pools. A river connects to a lake or pool its last point ends in, or its first point starts in. The lake shows the river’s current and plume, and a river that drains it takes its flow from the lake’s level.
Underwater. The underwater view uses the water body the camera is in, and the ocean otherwise. Near a river mouth or outlet it fades toward the water the river joins. DRW adds the underwater component to each local player’s pawn when the level has an ocean or any water body with Enable Underwater (Project Settings > Plugins > Dynamic Real Water > Auto Add Underwater).