Multiplayer model
Dynamic Real Water is server-authoritative. The server owns the water clock, makes every change to the water, and simulates the floating bodies and boats. Clients receive the clock, the settings and the positions, and each player’s machine draws the water itself.
This page lists, class by class, what replicates and what stays on each machine. For a step-by-step setup, see the multiplayer checklist.
The model in short
Section titled “The model in short”- The water clock belongs to the server. Clients follow it. See The water clock.
- Changes to the water (presets, settings, obstacle rebakes) are made on the server and reach clients through replication.
- Physics runs where the actor has authority, which in a networked game is the server. Clients show the result.
- Ripples, wakes and splashes on the ocean are decided by the server and shown on clients. Lakes, pools and rivers make them on each machine.
- Quality settings (FFT Resolution, Water Quality, river wave simulation, the underwater component) are chosen on each machine and never replicate.
The ocean, water bodies, Shoreline Obstacles and River Rock Markers replicate by themselves and are always relevant, and the clock is sent to clients automatically. There is nothing to enable on them.
The water clock
Section titled “The water clock”The server’s water clock wins, whatever drives it there (game time, a DRW Water Time track or Set External Time). Clients follow it, and late joiners catch up when the first update arrives. On a connected client, Set External Time and DRW Water Time tracks have no effect. The details are in The water clock.
Ocean (BP_DynamicRealWater)
Section titled “Ocean (BP_DynamicRealWater)”Presets and blends
Section titled “Presets and blends”| Node | Where to call it | What happens |
|---|---|---|
| Set Wave Data, Set Visual Data, Set Ocean Preset (on the ocean) and Set Ocean Wave Data, Set Ocean Visual Data, Set Ocean Preset (Blueprint library) | Server | The server starts the blend and sends it to every client, so all machines blend to the same asset over the same duration. Called on a client they do nothing (the library nodes still return true). |
| Apply Wave Data Instant, Apply Visual Data Instant (on the ocean) and Set Ocean Wave Data Instant, Set Ocean Visual Data Instant (library) | Server | Applies the asset at once on the server. The new asset reference replicates, and clients apply it at once too. These nodes have no server check: called on a client they change only that client. |
Default blend durations are 2 s for waves and 1.5 s for the look. Set Ocean Preset uses the preset’s own Default Wave Blend Duration and Default Visual Blend Duration (the ocean’s node uses them when Use Preset Blend Durations is on, the default; otherwise 2 s and 1.5 s).
Late joiners receive the current Wave Data Asset and Visual Data Asset and apply them at once. After that, every replicated setting takes the server’s current value, so changes the server made after applying the asset, or a blend in progress, win over the asset’s own values.
A wave preset carries its own FFT Resolution, and applying it (instantly, during a blend, or on joining) sets that resolution on every machine. If your graphics menu lets players choose the FFT resolution, apply their choice again after a wave preset changes.
Ocean settings that replicate
Section titled “Ocean settings that replicate”Change these on the server during play and clients follow. A replicated setting changed on a client changes only that client until the server sends a new value.
| Category | Replicated settings |
|---|---|
| DRW Preset | Wave Data Asset, Visual Data Asset |
| DRW Ocean Spectrum | Enable FFT, Wind Speed, Wind Direction, Swell Height, Swell Wavelength, Swell Direction, Choppiness, Wave Seed, Wave Change Blend Time, Cascade Settings |
| DRW WPO and Normals | WPO Direction, Normal Strength |
| DRW Shoreline | Every Shoreline setting |
| DRW Lighting | Sky Light Tint Strength, Sky Light Tint Roughness |
| DRW Foam | Foam Texture, Foam Normal Texture (also through Set Foam Textures), Foam Distance, Foam Pre Roll Seconds, Foam Wind Reference, Foam Wind Exponent, Foam Large Wavelength, Foam Spread, Foam Spread Cross Wind, Foam Small Decay Rate, Foam Small Strength, Foam Stretch, Foam Normal Fade Start, Foam Normal Fade End, Foam Surface Strength, Foam Surface Albedo, Foam Surface Roughness |
| DRW Caustics | Caustics Follow Sun |
| DRW Underwater | Scattering, Anisotropy, Ambient Strength, Sky Color, Caustic Strength, Shaft Strength, Light Range, Refracted Sun Disc, Exposure Compensation, Depth Darkening, Exposure Adaptation, Lens Flare Intensity |
| DRW LOD Settings | Coarse LOD Wave Correction, Coarse LOD Wave Max Shift |
Most look settings are not in this list: Roughness, Specular, Refraction, the water colors, Foam Color, Foam Strength, Enable Foam Accumulation, the foam decay and accumulation settings, Enable Caustics, Caustics Strength and others. Set on the server during play, they stay on the server. To change the look for everyone, put the values in a Visual Data asset and switch to it with Set Visual Data. The ocean’s Interaction Data Asset does not replicate either; set it in the level.
Ocean settings that stay on each machine
Section titled “Ocean settings that stay on each machine”| Setting | How to change it | Notes |
|---|---|---|
| FFT Resolution (DRW Ocean Spectrum) | Set FFT Resolution on the ocean, or Set Ocean FFT Resolution | Local quality setting. Causes a one-frame hitch: call it from a settings menu, not every frame. Wave presets set it too (see above). |
| Water Quality (DRW Ocean Spectrum) | Set Water Quality | Lower tiers draw fewer wave cascades on that machine. Physics is not affected. |
| Caustics light direction | Set Caustics Light Direction | Used when Caustics Follow Sun is off. Call it on every machine that should use it. |
| Animate In Editor | Details panel | Editor viewport only. |
Depth map and shoreline bake
Section titled “Depth map and shoreline bake”The depth map, the ocean removed under land and the shoreline surf are worked out by each machine from its own copy of the level. None of it is sent over the network, so every machine must load the same landscape and Shoreline Obstacles. Every machine except a dedicated server starts this Client Depth Map Delay after the level starts (DRW Grid Settings, advanced; default 0.2 s, range 0 to 10 s), which gives streaming land time to load. Dedicated servers start at once.
Shoreline Obstacles
Section titled “Shoreline Obstacles”A Shoreline Obstacle replicates, is always relevant, and replicates its movement and Remove Ocean Below.
- Moving an obstacle during play: move it on the server, then call Rebake Shoreline on the server. The server and every client rebuild their depth map and shoreline bake. Called on a client, Rebake Shoreline rebuilds only that client. The rebake takes a few frames, so obstacles that move continuously are not supported.
- Spawning, streaming in, streaming out or destroying an obstacle triggers a rebake by itself on each machine.
- Remove Ocean Below only applies to obstacles present when the level loads.
Lakes, pools and rivers
Section titled “Lakes, pools and rivers”Water bodies replicate and are always relevant. DRW does not replicate their placement (it does not turn on Replicate Movement for them) or a river’s spline points, so build them in the level rather than moving or reshaping them during play.
| Water body | Replicated settings |
|---|---|
| All water bodies | Visual Data, Foam Texture, Foam Normal Texture, Interaction Data Asset, Enable Caustics, Enable Buoyancy, Enable Interaction, Enable Underwater |
| Lake | Radius, Depth (Enable Lake Waves and Lake Wave Data do not replicate) |
| Pool | Width, Length, Depth (Boundary Distance Threshold and Boundary Bake Interval Seconds do not replicate) |
| River | Every setting that shapes the water: flow, terrain, waves, foam, surface, obstacles, junctions and the advanced hydraulics, mesh, interaction and containment settings, plus the per-point settings |
These river settings do not replicate: Fill Level, the obstacle detection settings Min Height, Scan Spacing and Min Separation, Enable River FFT (per player on purpose, see below), Show Trace Preview, the settings under DRW Debug, and the editor tool settings under DRW Terrain Tools (the Carve Landscape switch itself does replicate).
Clients rebuild the river by themselves when replicated river settings arrive. On the server, call Rebuild Hydraulics after you change river settings from Blueprint during play.
River Rock Markers
Section titled “River Rock Markers”River Rock Markers replicate, are always relevant, and replicate their movement and their Mode, Rock Mesh, Fit To Mesh, Radius and Height. When a marker moves or changes, the rivers around it update on every machine.
Surface masks
Section titled “Surface masks”A DRW Surface Mask component replicates Mask Mesh, Enabled, Mask Buoyancy and Mask Underwater Effects. On a replicated actor, Set Mask Enabled, Set Mask Mesh, Set Mask Buoyancy and Set Mask Underwater Effects only work on the server; calls from clients are ignored. After Set Mask Mesh, every machine rebuilds the hull footprint from the new mesh.
Floating actors
Section titled “Floating actors”Buoyancy runs on the server
Section titled “Buoyancy runs on the server”- A DRW Buoyancy component turns on replication and Replicate Movement for its actor by itself. There is nothing to enable.
- Buoyancy forces are computed only where the actor has authority, which in a networked game is the server. Clients compute no buoyancy; the floating actor follows the server through its replicated movement.
- Without Smooth Replication, clients use Unreal’s own physics replication. If a client stops getting movement updates for a floating body (it left that client’s relevancy, the server stopped sending, or a replay ended), DRW holds the body still on that client until updates resume, instead of letting it fall.
- DRW does not change relevancy for floating actors. They use the actor’s own Net Cull Distance Squared (Unreal’s default corresponds to 150 m).
What clients can read
Section titled “What clients can read”| Replicated from the server | Notes |
|---|---|
| Buoyancy Outputs | One entry per body: Average Force Output, Average Torque Output, Average Wave Location Output, Average Rotation Output. On Buoyancy Outputs Updated fires on clients only, each time new outputs arrive; on the server and in single player, read Buoyancy Outputs directly. Get Interpolated Output returns one body’s entry. |
| Is In Water | Whether the actor is in the water. |
| Sway Damping Ratio, Water Motion Coupling, Roll Pitch Damping Ratio, Yaw Damping Ratio, Rotational Drag Coefficient, Sleep When Out Of Sight | Tuning values. They only take effect where the body is simulated, on the server. |
All other buoyancy settings do not replicate. Since only the server simulates, set them in the actor’s defaults or change them on the server.
Sleep When Out Of Sight (DRW Buoyancy, Optimization) runs on the server and takes every player’s view into account. Keep Awake runs on the server.
Smooth Replication
Section titled “Smooth Replication”DRW Smooth Replication makes replicated floating actors move smoothly on clients. It changes only what clients see; the server’s simulation is untouched.
- It works on clients only. On the server, including a listen server’s host, it switches itself off.
- It smooths both other players’ actors and the actor a player controls.
- On clients it switches off physics on the actor’s root and moves the actor itself. With Use Poll Based Detection on (the default), it follows the actor’s replicated movement, so the actor must replicate with Replicate Movement, which the Buoyancy component turns on.
- It shows the actor Interpolation Relative Time behind the server (default 0.1 s, range 0 to 0.5 s). With Adaptive Interpolation Time on (the default), the delay can grow up to Max Interpolation Relative Time (default 0.3 s) when updates arrive further apart. When updates run out it extrapolates for up to Extrapolation Time Limit (default 0.5 s) or Extrapolation Distance Limit (default 500 cm), and it snaps when the error passes Position Snap Threshold (default 500 cm) or Rotation Snap Threshold (default 90 degrees).
- Send Rate Hz (default 30) should match how often the actor is sent. DRW boats set it from their Net Update Rate.
- On clients it measures Calculated Velocity, Calculated Speed (cm/s) and Calculated Angular Velocity from the smoothed movement, which you can use for effects and speed readouts.
All its settings are listed in the components reference.
Rigs of several meshes
Section titled “Rigs of several meshes”When a DRW Physics Body targets a mesh that is not the actor’s root (for example several buoys tied to an anchor, each simulating), Replicate Body State (DRW Physics Body, Replication; on by default) sends that body’s position, rotation and velocity to clients. Clients stop simulating the mesh and follow the server, Body Interpolation Delay behind (default 0.1 s, range 0 to 0.5 s), and keep it moving along its last velocity for up to Body Max Extrapolation (default 0.25 s, range 0 to 1 s) when updates are late. Single-body actors replicate through the actor root and are not affected.
Neither Replicate Body State nor Smooth Replication handles skeletal meshes. A floating skeletal mesh, such as a ragdoll, gets no DRW network smoothing: Unreal’s own replication applies.
Ripples, wakes and splashes
Section titled “Ripples, wakes and splashes”On the ocean, the server decides where floating and moving objects make ripples, wakes and splashes, and clients show them slightly behind the server, with the same foam. Ripples made before a player joined are not shown to them. On lakes, pools and rivers, each machine makes the ripples itself from where the floating objects are.
The DRW Interaction Subsystem’s Spawn Splash At Location, Set Enabled and Clear Interactions act only on the machine that calls them. To show a scripted splash to everyone, call Spawn Splash At Location on every machine, for example from a multicast event.
This covers the DRW boat classes, DRW Vessel Pawn (the shipped BP_Dinghy and BP_Runabout) and DRW Vessel.
Replication and relevancy
Section titled “Replication and relevancy”- Boats replicate with Replicate Movement. Net Update Rate (DRW Vessel, Network; default 30 Hz, range 1 to 60) sets how often the server sends them. Higher is smoother and costs more bandwidth.
- Enable Multiplayer (default on) off makes the boat local: the server stops replicating it.
- Boats are relevant to a client within 1 km (100,000 cm) of its viewer: DRW sets their Net Cull Distance Squared to match. A DRW Vessel also stays relevant to anyone sitting in one of its seats.
Physics
Section titled “Physics”The server simulates the hull. On clients the hull’s physics is off, and DRW Smooth Replication, which every DRW boat already contains, is switched on with Send Rate Hz set to the boat’s Net Update Rate. The driving player sees their own boat through the same smoothing, so it reacts to their input after the round trip to the server plus the interpolation delay. On a listen server’s host, the host’s own boat responds at once.
The driving client sends its input to the server, which applies it to the simulation. Camera input stays on the client.
| Setting (DRW Vessel Input, Input, Replication) | Default | What it does |
|---|---|---|
| Input Send Rate | 30 (range 1 to 60) | How many times per second, at most, the client sends input that changed. |
| Input Change Tolerance | 0.01 (range 0.001 to 0.1) | Smallest change in any input that counts as changed. |
| Send Periodic Full State | On | Also sends the full input state at a fixed interval when nothing changed. |
| Full State Send Interval | 0.5 s (range 0.1 to 2 s) | Interval of those full-state sends. |
The moment the player lets go of every control always reaches the server. Force Replicate Input sends the current input to the server at once. The server checks every input message: Throttle, Steering, Bow Thruster, Stern Thruster and Foil Angle must be within -1 to 1, the other controls within 0 to 1. Other clients also receive the boat’s input, for animation and effects.
What clients can read
Section titled “What clients can read”Speed, Froude number, engine RPM, thrust and the movement state (displacement, planing, foiling) are computed on the server.
- Other clients read them with Get Movement Output on the boat’s movement component. The driver’s own machine does not receive them: on a DRW Vessel Pawn such as BP_Dinghy or BP_Runabout, Get Movement Output is not updated for the player who possesses the boat.
- Get Speed, Get Speed Knots, Is Planing and Get Movement State are only updated on the server, and On Movement State Changed fires only on the server.
- Is In Water works on every machine (it comes from the replicated buoyancy state).
For a speedometer on clients, read Calculated Speed (cm/s) from the boat’s Smooth Replication component (Get Replication).
Possession
Section titled “Possession”The DRW Vessel Possession component on the player’s pawn sends Request Possess Vessel to the server. The server refuses a boat that another player already controls, stores the player’s pawn in the boat’s Original Pawn (replicated) and possesses the boat. On Vessel Possessed fires on the server. While Original Pawn is set, the driver’s machine binds the F key to leave the boat; the server then possesses the original pawn again. See Possession vs seats.
A seat’s occupant replicates. The pawn needs a DRW Seat Occupant component: a seat refuses an occupant without one.
- Call Request Occupy Seat and Request Vacate Seat on the Seat Occupant component from the owning client. They go to the server, which seats or unseats the pawn. Occupy Seat and Vacate Seat on the seat itself are the server-side calls: on a client they change only that client.
- Request Occupy Seat sets the target seat on the client immediately, so Get Target Or Current Seat answers before the server confirms.
- When the occupant arrives on a client, the client hides the occupant (if Hide Occupant When Seated is on) and, when the seat uses its camera, turns it on for the local occupant only.
- Helm input travels to the server through the Seat Occupant component, with the same checks as boat input. The server’s boat reads it from the helm seat.
Underwater
Section titled “Underwater”With Auto Add Underwater on (Project Settings, Plugins, Dynamic Real Water; default on), each machine gives the pawn of each of its own local players a DRW Underwater component (or the player controller when there is no pawn). The component does not replicate: every machine adds and runs its own, and changes to it affect only that machine. Dedicated servers add none.
The ocean’s underwater look settings replicate (see the table above), except Shaft Steps and the Sun Shadows group (Sun Shadows, Resolution, Coverage, Bias), which are per machine. A water body’s Enable Underwater replicates.
Rivers: wave simulation per player
Section titled “Rivers: wave simulation per player”Enable River FFT (DRW Surface) runs the river’s own wave simulation, which gives the surface its ripples and the foam its detail. It does not replicate: each player decides for themselves, for example with Set River FFT Enabled to turn it off while they are far from the river. Off costs no GPU time.
Listen servers
Section titled “Listen servers”The host is the server. It owns the clock, applies presets, simulates the floating bodies and boats, and decides the ocean’s ripples and wakes. Its own view and quality settings are local, like any player’s. Smooth Replication is off on the host, which sees the simulated bodies directly. Possession and seat requests made by the host run at once without a network round trip.
Dedicated servers
Section titled “Dedicated servers”On a dedicated server, DRW skips these visual parts:
- the river surface mesh, the river’s flow, depth and foam display, the river foam and the river ripple simulation,
- lake waves, and the current and plume display of lakes and pools that rivers connect to,
- the DRW Underwater component.
Rivers still work out their flow there; only their visuals are skipped. The depth map starts at once instead of waiting for Client Depth Map Delay, and GPU Depth Capture has no effect there. The water clock runs as usual, and clients follow it.
Replays
Section titled “Replays”The water clock is recorded with a replay, so playback shows the waves as they were in the match (see Replays). When a replay ends and movement updates stop, floating bodies that clients were simulating hold still instead of falling.