Skip to content

Subsystems

Subsystems exist once per world (or per game instance) and are created automatically. In Blueprint, get one with its Get node (for example Get DRW Water Time Subsystem), then call its functions.

DRW Water Time Subsystem

The clock every water system reads: the ocean, rivers, the shoreline, foam and water queries. In multiplayer and replays the server’s clock wins and clients follow it, whatever drives it on the server (world time, Sequencer or an external time).

Guide: The water clock

FunctionInputsOutputsDescription
Get Water Time
GetWaterTime
Return doubleCurrent water time in seconds. Pure.
Get Water Time Rate
GetWaterTimeRate
Return floatHow fast water time runs against world time. 1 = normal, 0 = stopped. Pure.
Get Time Source
GetTimeSource
Return EDRWWaterTimeSourceWhich clock drives the water right now. Pure.
Set External Time
SetExternalTime
Seconds doubleDrives the water from your own clock, such as a simulation or replay. Call every frame. In multiplayer call it on the server; clients follow the server.
Clear External Time
ClearExternalTime
Returns the water to world time.

DRW Water Surface Subsystem

Water surface queries from Blueprint and C++, independent of buoyancy. Rivers, pools and lakes answer immediately; ocean answers are one or two frames behind.

Guide: Reading the water from Blueprint

FunctionInputsOutputsDescription
Get Water Surface
GetWaterSurface
Requester UObject*
Location FVector
Channel int32 = 0
Return bool
Out Sample FDRWWaterSurfaceSample
Water surface at a world position. Call it every frame from the same caller: rivers, pools and lakes answer immediately, the ocean answer follows the position one or two frames behind and is invalid on the first call. The object asking (usually self); each requester keeps its own ocean probe. Separate probe per requester when one object samples several positions (0, 1, 2…).
Create Water Probe
CreateWaterProbe
Location FVectorReturn int32Starts tracking the water surface at a world position. Returns the probe handle, or -1 when the probe pool is full.
Set Water Probe Location
SetWaterProbeLocation
Probe int32
Location FVector
Moves a probe. The ocean answer for the new position arrives one or two frames later.
Get Water Probe Sample
GetWaterProbeSample
Probe int32Return bool
Out Sample FDRWWaterSurfaceSample
Latest surface sample of a probe. Returns false while no result is available.
Destroy Water Probe
DestroyWaterProbe
Probe int32Releases a probe.
Sample Water Body Surface
SampleWaterBodySurface
Location FVectorReturn bool
Out Sample FDRWWaterSurfaceSample
Instant surface sample from rivers, pools and lakes only. Returns false when no water body covers the position.

DRW Interaction Subsystem

Runs the ripples, wakes, splashes and foam that floating objects make on the water.

Guide: Making objects float

DRW Interaction › Settings

PropertyDefaultDescription
World Coverage
WorldCoverage
float
51200
1000 to 200000
World-space coverage of the RT in centimeters (default: 8 cells x 6400 = 51200)
Decay Rate
DecayRate
float
0.2
0.01 to 5
Decay rate for interaction effects (higher = faster fade)
Foam Accumulation Rate
FoamAccumulationRate
float
8
0 to 40
How fast sources deposit foam into the history. Higher reaches full foam sooner.
Foam Decay Floor
FoamDecayFloor
float
0.05
0 to 2
Subtractive fade, per second. This is what lets interaction foam reach exactly zero.
Advection Strength
AdvectionStrength
float
0.5
0 to 1
How fast wake propagates outward (0 = static, 1 = fast movement)
Diffusion Strength
DiffusionStrength
float
0.5
0 to 1
How much wake spreads/disperses over time (0 = no spread, 1 = fast spread)
Max Sources Per Frame
MaxSourcesPerFrame
int32
100
1 to 500
Maximum interaction sources to process per frame
Enabled
bEnabled
bool
trueEnable/disable the interaction system
Default Interaction Data Asset
DefaultInteractionDataAsset
UDRW_InteractionDataAsset*
NoneDefault interaction data asset. Provides baseline values for all interaction effects. When set, overrides the individual UPROPERTY defaults on this subsystem.
Fixed Update Rate Hz
FixedUpdateRateHz
float
30
10 to 60
How often (Hz) ripples, wakes and splashes are updated. Lower costs less, higher reacts faster. 30 Hz matches physics and network updates.

DRW Interaction › Performance

PropertyDefaultDescription
Min Screen Size Threshold
MinScreenSizeThreshold
float
0.002
0 to 0.1
Minimum screen size threshold for interaction sources. Sources with (Radius / Distance) below this value are culled. Higher values = more aggressive culling = better performance. 0.001 = ~1 pixel at 1000 unit distance for 100 unit radius object.
Max Interaction Distance
MaxInteractionDistance
float
100000
0 to 500000
Maximum distance (cm) for interaction sources. Sources beyond this distance are always culled regardless of size. Set to 0 to disable distance culling.

DRW Interaction › Thresholds

PropertyDefaultDescription
Min Speed For Ripple
MinSpeedForRipple
float
15
1 to 100
Minimum horizontal speed (cm/s) to generate ripples. Lower = more sensitive.
Min Speed For Wake
MinSpeedForWake
float
200
50 to 500
Minimum horizontal speed (cm/s) for wake generation (vs ripple).
Min Radius For Wake
MinRadiusForWake
float
100
10 to 500
Minimum object radius (cm) to generate wakes. Smaller objects only create ripples.
Min Vertical Speed For Splash
MinVerticalSpeedForSplash
float
30
10 to 200
Minimum vertical speed (cm/s) for impact splash when entering water.
Impact Splash Duration
ImpactSplashDuration
float
3
0.5 to 10
Duration (seconds) that impact splashes remain active.

DRW Interaction › Debug

PropertyDefaultDescription
Debug Draw
bDebugDraw
bool
false
FunctionInputsOutputsDescription
Register Interaction Source
RegisterInteractionSource
Source UDRW_PhysicsBodyComponent*Register a physics body component as an interaction source
Unregister Interaction Source
UnregisterInteractionSource
Source UDRW_PhysicsBodyComponent*Unregister a physics body component
Set Grid Manager
SetGridManager
In Grid Manager ADRW_GridManager*Set the grid manager reference (provides water Z height)
Set Enabled
SetEnabled
New Enabled boolEnable or disable the interaction system
Clear Interactions
ClearInteractions
Clear all interaction effects
Spawn Splash At Location
SpawnSplashAtLocation
World Position FVector
Radius float = 100
Intensity float = 1
Manually spawn a splash at a world position. Useful for effects like explosions, player jumping in water, etc. - XY position where splash occurs (Z is ignored, uses water surface) - Effect radius in cm - Splash intensity (0.0 - 1.0)
Get RT World Center
GetRTWorldCenter
Return FVector2DGet RT world center position Pure.
Get World Coverage
GetWorldCoverage
Return floatGet world coverage size Pure.
Is Interaction Enabled
IsInteractionEnabled
Return boolCheck if interaction system is enabled and has valid RT Pure.
Get Registered Source Count
GetRegisteredSourceCount
Return int32Get number of registered sources Pure.
Get Active Source Count
GetActiveSourceCount
Return int32Get number of active sources this frame Pure.

DRW Debug Subsystem

Debug drawing for forces, physics shapes and interaction, plus an on-screen readout per actor. The console commands, Blueprint and Project Settings all drive the same settings. Drawing is compiled out of builds without debug drawing, such as Shipping.

Guide: Debugging and setup checks

FunctionInputsOutputsDescription
Focus Debug On Actor
FocusDebugOnActor
Actor AActor*Draw only this actor’s debug in this world. Null shows every actor again.
Get Debug Focus Actor
GetDebugFocusActor
Return AActor*Pure.
Set Debug Enabled
SetDebugEnabled
Enable bool
Is Debug Enabled
IsDebugEnabled
Return boolPure.
Set Debug Category Enabled
SetDebugCategoryEnabled
Category EDRW_DebugCategory
Enable bool
Is Debug Category Enabled
IsDebugCategoryEnabled
Category EDRW_DebugCategoryReturn boolPure.
Get Debug Options
GetDebugOptions
Return FDRW_DebugOptionsPure.
Set Debug Options
SetDebugOptions
In Options FDRW_DebugOptions
Apply Debug Preset
ApplyDebugPreset
Preset EDRW_DebugPreset
Reset Debug To Project Defaults
ResetDebugToProjectDefaults
Back to the values in Project Settings > Plugins > DRW Debug.