Skip to content

Components

Components you add to your own actors and pawns.

DRW Physics Body

Describes the floating shape of one mesh: a set of boxes, spheres and capsules, each with a material that sets its density. Air shapes subtract volume, so a hollow hull floats. Shapes can follow bones of a skeletal mesh, and a skeletal mesh with a Physics Asset gets its shapes from it automatically. Use one per mesh; an actor can have several.

Guide: Making objects float, Approximating a hull

DRW Physics Body

PropertyDefaultDescription
Target Component Name
TargetComponentName
FName
emptySpecifies the name of the component (StaticMeshComponent or SkeletalMeshComponent) within the actor to which the collision shapes should attach. This allows the physics body component to bind to specific meshes for buoyancy and force calculations. Use the exact name of the component as it appears in the Blueprint (e.g., “Cube”, “Mesh”, etc.).
Main Material Type
MainMaterialType
EDRW_MaterialType
WoodThe primary material type assigned to the mesh. Influences physical behavior such as density, buoyancy, and interaction response with water (e.g., drag, floatation). Used as a default for any shape that does not have an explicitly overridden material type.
Enable Water Interaction
bEnableWaterInteraction
bool
trueMaster toggle - if false, no shapes will generate water interactions regardless of per-shape settings
Boxes
Boxes
TArray<FDRW_BoxCollisionShape>
Box collision shapes used for buoyancy and physics calculations. Each box contributes to total volume, mass, and force calculations.
Spheres
Spheres
TArray<FDRW_SphereCollisionShape>
Sphere collision shapes used for buoyancy and physics calculations. Each sphere contributes to total volume, mass, and force calculations.
Capsules
Capsules
TArray<FDRW_CapsuleCollisionShape>
Capsule collision shapes used for buoyancy and physics calculations. Each capsule contributes to total volume, mass, and force calculations.
Use Custom Center Of Mass
bUseCustomCenterOfMass
bool
falseIf false, the center of mass will be queried directly from the attached component using Chaos/Unreal’s built in physics system. If true, the center of mass is calculated using DRW’s custom shape based system. This will always set to be true automatically for skeletal meshes that have a proper physics body setup.
Center Of Mass
CenterOfMass
FVector
Zero VectorBlueprint read only.
Center Of Mass Offset
CenterOfMassOffset
FVector
Zero VectorManual offset for both Chaos/Unreal’s and DRW’s custom shape based center of mass.
Total Mass
TotalMass
float
0Blueprint read only.

DRW Physics Body › Interaction Override

PropertyDefaultDescription
Override Interaction Bounds
bOverrideInteractionBounds
bool
falseOverride interaction bounds instead of deriving them from physics shapes. Useful for skeletal meshes where physics asset shapes are too small to produce visible water interactions. Does not affect buoyancy calculations.
Interaction Radius
InteractionRadius
float
100
at least 1
Effective radius (cm) for interaction effects. Only used when bOverrideInteractionBounds is true. Editable when Override Interaction Bounds.
Interaction Hull Length
InteractionHullLength
float
200
at least 1
Hull length along forward axis (cm) for wake patterns. Only used when bOverrideInteractionBounds is true. Editable when Override Interaction Bounds.
Interaction Hull Width
InteractionHullWidth
float
100
at least 1
Hull width perpendicular to forward (cm) for wake patterns. Only used when bOverrideInteractionBounds is true. Editable when Override Interaction Bounds.

DRW Physics Body › Replication

PropertyDefaultDescription
Replicate Body State
bReplicateBodyState
bool
trueMultiplayer: when the target mesh is not the actor’s root (rigs made of several simulating meshes, such as buoys tied to an anchor), the server sends this body’s position, rotation and velocity to clients, and clients stop simulating the mesh and follow the server. Single-body actors are replicated through the actor root and are not affected.
Body Interpolation Delay
BodyInterpolationDelay
float
0.1
0 to 0.5
Seconds clients stay behind the server so they always have two updates to blend between. Raise it if bodies stutter on a poor connection; lower it for less delay. Editable when Replicate Body State.
Body Max Extrapolation
BodyMaxExtrapolation
float
0.25
0 to 1
Seconds a client keeps moving a body along its last velocity when updates are late, before holding it still. Editable when Replicate Body State.
FunctionInputsOutputsDescription
Debug Draw Shapes
DebugDrawShapes
Debug draw shapes in the viewport
Has Active Strokes
HasActiveStrokes
Return boolCheck if this component has any active strokes Pure.

DRW Buoyancy

Makes an actor float. It reads the physics bodies on the actor, samples the water under every shape and applies buoyancy, drag and damping. It works on the ocean, rivers, lakes and pools, and exposes the result to Blueprint through Buoyancy Outputs.

Guide: Making objects float

DRW Buoyancy › Setup

PropertyDefaultDescription
Water Position
WaterPosition
FVector
Zero VectorPosition of the water surface in world space.
Enable Multiplayer Support
bEnableMultiplayerSupport
bool
trueEnables or disables replication and allows gaining access to owner’s replication settings. DRW vessels always turn it on.
Playable Character
bPlayableCharacter
bool
falseIf true, this buoyancy component is driving a playable character instead of a rigid body. In this mode per shape forces are still computed, but physics forces are not applied directly to the attached component. External character movement logic is expected to consume the aggregated outputs (FDRW_BuoyancyOutput) and apply movement and animation manually.

DRW Buoyancy › Water Properties

PropertyDefaultDescription
Water Density
WaterDensity
float
1025
900 to 1100
Density of the water (in kg/m³). Default is 1025 for seawater. Affects the magnitude of buoyant and drag forces.
Water Viscosity
WaterViscosity
float
0.010019
0.001 to 0.1
Viscosity of the water (in Pa*s). Affects drag and damping forces. Higher values result in thicker water and greater resistance to motion.
In Water Threshold
InWaterThreshold
float
0.01
0.001 to 0.5
Minimum submersion percentage (0.0 to 1.0) required for bIsInWater to be true. Uses percentage of total volume submerged rather than absolute values for stability with large objects. Default 0.01 = 1% of body volume must be submerged.

DRW Buoyancy › Simulation

PropertyDefaultDescription
Update Mode
UpdateMode
EDRWBuoyancyUpdateMode
Fixed TimestepControls how buoyancy calculations and force application are timed. - EventTick: Legacy behavior, all in tick (may cause jitter in multiplayer) - FixedOnly: Fixed rate calculations (Best choice for multiplayer scenarios and stable setups)
Calculation Rate Hz
CalculationRateHz
float
30
1 to 120
Fixed timestep rate in Hz for buoyancy calculations. Lower values = less CPU but coarser simulation. Recommended: Match your net update frequency (typically 20-30 Hz for games). Shown when Update Mode == Fixed Timestep.
Hull Mask Columns
HullMaskColumns
int32
12
4 to 32
Columns per side used to integrate the submerged volume of a shape that touches another actor’s surface mask hull. Only those shapes pay for it; higher is more exact at the hull wall.
Interpolation Strength
InterpolationStrength
float
0.15
0 to 1
Blend between the two most recent buoyancy steps: 0 uses the previous step, 1 the newest. Values in between smooth the forces. Shown when Update Mode != Event Tick (Legacy).
Physics Quality
PhysicsQuality
EDRWPhysicsQuality
AsyncDetermines the physics quality mode to use: Async (non blocking), Mixed (hybrid), or Sync (immediate). Impacts task scheduling and simulation responsiveness.

DRW Buoyancy › Speed Caps

PropertyDefaultDescription
Max Linear Speed
MaxLinearSpeed
float
50
1 to 100
Speed (m/s) above which the speed fed into the drag calculation is eased off, so a very fast impact cannot produce an explosive drag force. Does not slow the body by itself.
Max Angular Speed
MaxAngularSpeed
float
10
0.5 to 20
Spin rate (rad/s) above which the spin fed into the rotational drag calculation is eased off. Does not slow the body by itself.
Velocity Damping Strength
VelocityDampingStrength
float
0.1
0.01 to 1
How quickly speeds above the caps are eased off (higher = closer to a hard cap).

DRW Buoyancy › Damping

PropertyDefaultDescription
Enable Heave Damping
bEnableHeaveDamping
bool
trueSlows the body’s bobbing (up and down).
Heave Damping Coefficient
HeaveDampingCoefficient
float
0.7
0.1 to 2
How strongly bobbing is damped, as a fraction of the damping that would stop it without any overshoot. 0.3 = bobs a few times before settling. 0.7 = settles with little overshoot. 1 = no overshoot at all. Shown when Enable Heave Damping.
Heave Added Mass Coefficient
HeaveAddedMassCoefficient
float
1
0.3 to 2
How much water moves along with the body when it bobs, which makes the bobbing slower and heavier. Around 1 for typical hulls. Shown when Enable Heave Damping.
Heave Velocity Threshold
HeaveVelocityThreshold
float
5
0.5 to 30
Vertical speed (cm/s) below which heave damping fades out, so a body at rest is not held in place. Shown when Enable Heave Damping.
Sway Damping Ratio
SwayDampingRatio
float
0.5
0 to 2
Slows the body’s sideways drifting. 0 = off. 0.5 = drifts noticeably less than the waves push it. 1 = strongly held. Scales with how deep the body sits and with the size of the current waves automatically. Replicated.
Water Motion Coupling
WaterMotionCoupling
float
1
0 to 1
How much the sideways damping follows the moving water (ocean waves and river current) instead of still water. 0 = damped against still water, 1 = the object moves with the water. Replicated.
Roll Pitch Damping Ratio
RollPitchDampingRatio
float
0.5
0 to 2
Slows the body’s rocking (roll and pitch), so it settles quickly once the waves calm down. 0 = off. 0.5 = settles within a few rocks. 1+ = barely rocks back after a tilt. Scales with how deep the body sits and with the size of the current waves automatically. Replicated.
Yaw Damping Ratio
YawDampingRatio
float
0.5
0 to 2
Slows the body turning around its vertical axis, so waves cannot spin it up. 0 = off. 0.5 = turns settle quickly. Keep it low on steered vessels; their rudder and keel handle yaw. Scales with how deep the body sits and with the size of the current waves automatically. Replicated.
Rotational Drag Coefficient
RotationalDragCoefficient
float
1
0 to 4
How strongly the water resists fast spinning or tumbling, on top of the three ratios above. The resistance grows with shape size and spin speed, so large flat-sided boxes are slowed the most and spheres are not slowed at all. 1 = realistic for flat faces. 0 = off. Replicated.

DRW Buoyancy › Slamming

PropertyDefaultDescription
Enable Slamming
bEnableSlamming
bool
trueEnables slamming/impact forces when objects enter water at high speed. Prevents unrealistic deep penetration and provides energy absorption on impact.
Slamming Coefficient
SlammingCoefficient
float
1
0.1 to 5
Slamming coefficient based on hull geometry. Higher values = more impact resistance. Typical values: 0.5-1 for spheres, 1-2 for V-hulls, 2-4 for flat bottoms. Shown when Enable Slamming.
Slamming Velocity Threshold
SlammingVelocityThreshold
float
5
10 to 500
Minimum vertical velocity (cm/s) required to trigger slamming forces. Prevents slamming from activating during gentle wave motion. Shown when Enable Slamming.
Enable Exit Damping
bEnableExitDamping
bool
trueEnables resistance when objects exit the water surface. Creates suction effect and prevents unrealistic “popping out” behavior. Shown when Enable Slamming.
Exit Damping Ratio
ExitDampingRatio
float
0.7
0.1 to 1
Exit damping coefficient as fraction of slamming coefficient. Water exit typically has less resistance than entry. Shown when Enable Slamming and Enable Exit Damping.

DRW Buoyancy › Sequencer

PropertyDefaultDescription
Follow Water In Sequencer
bFollowWaterInSequencer
bool
trueWhile a DRW Water Time track plays, rigid bodies ride the waves the same way on every replay. Ragdolls keep simulating.
Sequencer Follow Weight
SequencerFollowWeight
float
1
0 to 1
How much the water drives the body in Sequencer. 0 leaves it to its own transform keys. Keyable in Sequencer.
Sequencer Draft Offset
SequencerDraftOffset
float
0
-500 to 500 cm
Extra depth the body sits at in the water in Sequencer. Negative lifts it. Keyable in Sequencer.
Sequencer Tilt Response
SequencerTiltResponse
float
1
0 to 3
How strongly the body tilts with the waves in Sequencer. 0 keeps its start attitude. Keyable in Sequencer.
Sequencer Bob Strength
SequencerBobStrength
float
1
0 to 3
How strongly the body rises and falls with the waves in Sequencer. 0 holds its start height. Keyable in Sequencer.

DRW Buoyancy › Optimization

PropertyDefaultDescription
Sleep When Out Of Sight
bSleepWhenOutOfSight
bool
falsePuts the body to sleep while no player can see it, and wakes it back on the current wave when one can. Runs on the server. Sight is a view cone around each player’s camera, so walls and terrain do not hide the body. Anything that wakes the body (a collision, a constraint, a thrust force) wakes buoyancy with it. Replicated.
Out Of Sight Delay
OutOfSightDelay
float
3
0 to 60 s
Seconds the body must stay out of sight, while in the water, before it goes to sleep. Shown when Sleep When Out Of Sight.
Always Awake Radius
AlwaysAwakeRadius
float
10000
0 to 100000 cm
Within this distance of any player’s camera the body always stays awake, even behind the camera. Shown when Sleep When Out Of Sight.
Sight Half Angle
SightHalfAngle
float
75
10 to 180 degrees
Half-angle of the view cone that counts as in sight. Generous by default because the server does not know each client’s field of view or aspect ratio. Shown when Sleep When Out Of Sight.
Max Sight Distance
MaxSightDistance
float
0
0 to 10000000 cm
Beyond this distance the body counts as out of sight even inside the view cone. 0 = no limit. Shown when Sleep When Out Of Sight.

DRW Buoyancy › Output

PropertyDefaultDescription
Buoyancy Outputs
BuoyancyOutputs
TArray<FDRW_BuoyancyOutput>
Replicated array containing per body buoyancy output data, including average force, torque, wave surface position, and predicted rotation. Updated every tick on the server and automatically synchronized to clients. This data can be used by external systems (such as swimming or vehicle components) to simulate responsive water interaction. On clients, updates to this array trigger OnBuoyancyOutputsUpdated. Blueprint read only. Replicated.
Is In Water
bIsInWater
bool
falseReturns whether the actor is interacting with the water or not. Replicated from server. Blueprint read only. Replicated.
Overlapping Water Body
OverlappingWaterBody
TWeakObjectPtr<ADRW_WaterBody>
Blueprint read only.

DRW Buoyancy › Advanced

PropertyDefaultDescription
Enable Prediction
bEnablePrediction
bool
trueUsed only when a shape falls back to the simpler water reading (for example when the level runs out of water samples). Leave at the default.
Heightmap History Size
HeightmapHistorySize
int32
4
1 to 16
Used only when a shape falls back to the simpler water reading, together with Enable Prediction. Leave at the default.
Interaction Height Multiplier
InteractionHeightMultiplier
float
1
0 to 10
Multiplier for interaction height contribution to buoyancy. Controls how much water interaction effects (wakes, ripples) affect buoyancy calculations.
FunctionInputsOutputsDescription
Calculate Buoyancy Output
CalculateBuoyancyOutput
Get Interpolated Output
GetInterpolatedOutput
Body Index int32Return FDRW_BuoyancyOutputGets interpolated buoyancy output for smooth client-side consumption. Use this instead of reading BuoyancyOutputs directly for smoother results in multiplayer. On the server, this returns the current output directly.
Is Sleeping Out Of Sight
IsSleepingOutOfSight
Return boolTrue while the body sleeps because no player can see it (Sleep When Out Of Sight), including the short wake-up. Pure.
Keep Awake
KeepAwake
Keeps the body awake out of sight, and wakes it if it sleeps. Call it every tick while something drives the body (AI thrust, a scripted path); it may sleep again once Out Of Sight Delay has passed since the last call. DRW vessels call it themselves while they have input. Runs on the server.
Is In Water Body
IsInWaterBody
Return boolPure.
Get Water Body
GetWaterBody
Return ADRW_WaterBody*Pure.
EventSignatureDescription
On Buoyancy Outputs UpdatedUpdated Outputs TArray<FDRW_BuoyancyOutput>Delegate event triggered whenever the buoyancy output data is updated on clients. This is only called on clients (not the server) when the replicated BuoyancyOutputs array changes. You can bind to this event to react to new buoyancy data, e.g. to control swimming, movement, or visual effects based on wave interaction.

DRW Smooth Replication

Makes replicated floating actors move smoothly on clients. It changes only what clients see and leaves the server’s simulation untouched. It does not support skeletal meshes.

Guide: Multiplayer checklist

DRW Replication Smoothing › Core

PropertyDefaultDescription
Enable Smoothing
bEnableSmoothing
bool
true
Use Poll Based Detection
bUsePollBasedDetection
bool
trueUse poll based detection instead of explicit notifications. Less accurate but works without modifying replication code.

DRW Replication Smoothing › Timing

PropertyDefaultDescription
Interpolation Relative Time
InterpolationRelativeTime
float
0.1
0 to 0.5
How far in the past (seconds) to render relative to owner time. Higher = more interpolation buffer, smoother but more delay. Lower = more responsive but more extrapolation during lag spikes.
Adaptive Interpolation Time
bAdaptiveInterpolationTime
bool
trueRaises the delay above InterpolationRelativeTime when updates arrive further apart, so late updates do not cause extrapolation.
Max Interpolation Relative Time
MaxInterpolationRelativeTime
float
0.3
0 to 1
Largest delay the adaptive mode may use (seconds). Editable when Adaptive Interpolation Time.
Time Smoothing
TimeSmoothing
float
2
0 to 5
How long to smooth owner time offset changes (seconds). Prevents jitter from variable latency.
Send Rate Hz
SendRateHz
float
30
1 to 120
Expected network send rate. Used to size the time offset buffer. On DRW vessels it is set from the vessel’s Net Update Rate.
Use Hermite Interpolation
bUseHermiteInterpolation
bool
trueSmooths the path through direction changes using the replicated velocities. Turn it off if you see overshoot on fast direction changes.

DRW Replication Smoothing › Lerp

PropertyDefaultDescription
Position Lerp Speed
PositionLerpSpeed
float
0.85
0 to 1
How fast to lerp position toward interpolated target each frame. 0 = never move, 1 = instant snap. Lower = smoother but sluggish.
Rotation Lerp Speed
RotationLerpSpeed
float
0.85
0 to 1
How fast to lerp rotation toward interpolated target.
Scale Lerp Speed
ScaleLerpSpeed
float
0.85
0 to 1
How fast to lerp scale toward interpolated target.
Velocity Smoothing Rate
VelocitySmoothingRate
float
10
1 to 30

DRW Replication Smoothing › Thresholds

PropertyDefaultDescription
Received Position Threshold
ReceivedPositionThreshold
float
0
0 to 10
Position wont be updated unless it differs by more than this amount (cm). Helps filter out micro jitter. Set to 0 to always update.
Received Rotation Threshold
ReceivedRotationThreshold
float
0
0 to 10
Rotation wont be updated unless it differs by more than this amount (degrees). Helps filter out micro jitter. Set to 0 to always update.

DRW Replication Smoothing › Extrapolation

PropertyDefaultDescription
Enable Extrapolation
bEnableExtrapolation
bool
trueEnable extrapolation when we run out of states
Extrapolation Time Limit
ExtrapolationTimeLimit
float
0.5
0 to 2
Maximum time to extrapolate before stopping (seconds)
Extrapolation Distance Limit
ExtrapolationDistanceLimit
float
500
at least 0
Maximum distance to extrapolate before stopping (cm)

DRW Replication Smoothing › Snap

PropertyDefaultDescription
Position Snap Threshold
PositionSnapThreshold
float
500
at least 0
Snap to position if distance exceeds this (cm). 0 = disabled.
Rotation Snap Threshold
RotationSnapThreshold
float
90
0 to 180
Snap to rotation if angle exceeds this (degrees). 0 = disabled.

Smooth Replication

PropertyDefaultDescription
Calculated Velocity
CalculatedVelocity
FVector
Zero VectorVelocity calculated from actual interpolated movement Blueprint read only.
Calculated Angular Velocity
CalculatedAngularVelocity
FVector
Zero VectorAngular velocity calculated from actual interpolated movement (degrees/sec) Blueprint read only.

DRW Replication Smoothing

PropertyDefaultDescription
Calculated Acceleration
CalculatedAcceleration
FVector
Zero VectorBlueprint read only.
Calculated Speed
CalculatedSpeed
float
0Blueprint read only.
Calculated Angular Speed
CalculatedAngularSpeed
float
0Blueprint read only.
FunctionInputsOutputsDescription
Notify Replicated Movement Update
NotifyReplicatedMovementUpdate
Call to notify of a new replicated state (when using poll based detection)
Receive Network State
ReceiveNetworkState
Owner Timestamp float
Position FVector
Rotation FQuat
Linear Velocity FVector
Angular Velocity FVector
At Positional Rest bool = false
At Rotational Rest bool = false
Teleport bool = false
Preferred method: Call with owners timestamp for accurate time sync. This gives much better results than poll based detection but it is what it is…
Snap To Replicated Transform
SnapToReplicatedTransform
Clear Buffer
ClearBuffer
Teleport
Teleport
Get Smoothed Transform
GetSmoothedTransform
Return FTransformPure.
Is Smoothing
IsSmoothing
Return boolPure.
Is Extrapolating
IsExtrapolating
Return boolPure.
Get Jitter Stats
GetJitterStats
Return FDRWJitterStatsPure.
Get Interpolation Time
GetInterpolationTime
Return floatPure.
Get Owner Time
GetOwnerTime
Return floatPure.
EventSignatureDescription
On TeleportError Magnitude float

DRW Underwater

Renders the underwater look for the local player’s camera in the ocean, rivers, lakes and pools. It is added automatically to the pawn each local player controls (Project Settings > Plugins > Dynamic Real Water > Auto Add Underwater); add it by hand only to change its settings on one pawn. While an ocean is in the level, the ocean’s own underwater settings override these.

Guide: Underwater

DRW Underwater

PropertyDefaultDescription
Can Interact With Water
bCanInteractWithWater
bool
falseShow the underwater look only while this pawn’s DRW Buoyancy component reports it in water (swimmers, divers). Off: shown whenever the camera is below a water surface.
Underwater Exposure Compensation
UnderwaterExposureCompensation
float
-0.5
-8 to 8
Exposure compensation while the camera is underwater, in stops (negative darkens, -1 halves the brightness). Fades in over the first meter below the surface. While active it replaces the scene’s own exposure compensation; 0 leaves exposure untouched. Overridden by the ocean’s Underwater settings while an ocean is in the level.
Underwater Depth Darkening
UnderwaterDepthDarkening
float
0.5
0 to 1
How much of the light lost to depth stays visible. Auto exposure brightens deep water back to daylight levels; this keeps part of the darkening, computed from the underwater material’s absorption and scattering at the camera’s depth. 0 = full auto exposure (no darkening), 1 = like a fixed-exposure camera. Overridden by the ocean’s Underwater settings while an ocean is in the level.
Underwater Exposure Adaptation
UnderwaterExposureAdaptation
float
4
0 to 10
Stops the camera may brighten underwater beyond the scene’s own exposure range. 0 keeps the scene’s range. Overridden by the ocean’s Underwater settings while an ocean is in the level.
Underwater Sky Color
UnderwaterSkyColor
float
0
0 to 1
How much the sky’s color tints the water. 0 keeps the water’s own color, 1 takes the sky’s. Overridden by the ocean’s Underwater settings while an ocean is in the level.
Underwater Lens Flare Intensity
UnderwaterLensFlareIntensity
float
0.1
0 to 16
Lens flare intensity while the camera is underwater (the engine default is 1). Fades in over the first meter below the surface. While active it replaces the scene’s own lens flare intensity; 1 leaves it untouched. Overridden by the ocean’s Underwater settings while an ocean is in the level.
Refracted Sun Disc
bRefractedSunDisc
bool
trueDraws the sun underwater where refraction puts it (closer to straight up, bent by the waves) and hides the sky’s own sun disc, which sits at the in-air position, while the camera is below the surface. Overridden by the ocean’s Underwater settings while an ocean is in the level.
Underwater Light Range
UnderwaterLightRange
float
5000
at least 0 cm
Underwater point and spot lights (torches, boat lamps) scatter into visible beams. Up to 8 lights below the surface are used, nearest first; lights whose reach ends farther than this from the camera (cm) are skipped. Overridden by the ocean’s Underwater settings while an ocean is in the level.
Post Process
PostProcess
UPostProcessComponent*
Blueprint read only.
Activated
bActivated
bool
falseBlueprint read only.

DRW Underwater › Sun Shadows

PropertyDefaultDescription
Sun Shadows
bSunShadows
bool
trueRenders depth maps along the refracted and the in-air sun direction around the camera. Underwater, the engine’s own sun shadow (cast along the in-air direction) is replaced by the refracted one, and light shafts and caustics stop at objects. Two depth-only captures per frame while underwater. Overridden by the ocean’s Underwater settings while an ocean is in the level.
Sun Shadow Resolution
SunShadowResolution
int32
512
128 to 2048
Resolution of the sun shadow depth map. Higher gives sharper shadow edges at a higher capture cost. Overridden by the ocean’s Underwater settings while an ocean is in the level. Advanced.
Sun Shadow Coverage
SunShadowCoverage
float
6400
1000 to 51200 cm
World size covered by the sun shadow map around the camera. Shafts beyond half of this are unshadowed. Overridden by the ocean’s Underwater settings while an ocean is in the level. Advanced.
Sun Shadow Bias
SunShadowBias
float
25
0 to 500 cm
Depth tolerance before a point counts as shadowed. Raise it if the seafloor shows dark speckles. Overridden by the ocean’s Underwater settings while an ocean is in the level. Advanced.

DRW Surface Mask

Keeps water out of a hull’s dry interior, set by a closed mask mesh with cooked collision. The water surface is hidden inside it; other actors’ buoyancy inside sees the water at the hull bottom, so cargo in a dry hold does not float; optionally the underwater look turns off while the camera is inside. Settings are server-authoritative on replicated actors.

Guide: Caves, docks and hull interiors

PropertyDefaultDescription
Mask Mesh
MaskMesh
UStaticMesh*
NoneClosed volume of the hull’s dry interior. Its collision trimesh is read on every machine (dedicated servers included), so the mesh must have collision cooked. Prefer SetMaskMesh at runtime. Replicated.
Enabled
bEnabled
bool
truePrefer SetMaskEnabled at runtime. Replicated.
Mask Buoyancy
bMaskBuoyancy
bool
trueInside the hull, other actors’ buoyancy sees the water pushed down to the hull bottom, so cargo in a dry hold does not float. Water above the hull top (a swamped hull) counts as real. The mask’s own actor is never masked. Prefer SetMaskBuoyancy at runtime. Replicated.
Mask Underwater Effects
bMaskUnderwaterEffects
bool
trueThe underwater post-process turns off while the camera is inside the hull volume and the water has not risen over the hull top. Prefer SetMaskUnderwaterEffects at runtime. Replicated.
FunctionInputsOutputsDescription
Set Mask Enabled
SetMaskEnabled
New Enabled boolServer-authoritative on replicated actors; calls from clients are ignored.
Set Mask Mesh
SetMaskMesh
New Mesh UStaticMesh*Server-authoritative on replicated actors; calls from clients are ignored. Every machine re-bakes the hull footprint from the new mesh.
Set Mask Buoyancy
SetMaskBuoyancy
New Mask Buoyancy boolServer-authoritative on replicated actors; calls from clients are ignored.
Set Mask Underwater Effects
SetMaskUnderwaterEffects
New Mask Underwater Effects boolServer-authoritative on replicated actors; calls from clients are ignored.

DRW Vessel Movement

Applies propulsion, steering and resistance to a vessel: engines, jets, sails, paddles and oars, rudders and other control surfaces, planing and foiling. The buoyancy component handles floating; this component handles driving.

Guide: Engines, sails, rudders and foils

PropertyDefaultDescription
Calculation Rate Hz
CalculationRateHz
float
30
1 to 120
Fixed timestep rate in Hz for force calculations. Should match BuoyancyComponent’s CalculationRateHz for synchronized simulation.
Interpolation Strength
InterpolationStrength
float
0.85
0 to 1
Blend between the two most recent movement steps: 0 applies each new step at once, higher values blend in more of the previous step.
Force Multiplier
ForceMultiplier
float
1
0.1 to 10
Global force multiplier for tuning. 1.0 = Physically accurate, adjust for gameplay feel.
Turn Assist Multiplier
TurnAssistMultiplier
float
1
1 to 50
Multiplier for yaw torque from control surfaces (rudder, thrusters). Compensates for UE’s inertia tensor making large vessels nearly impossible to turn. 1.0 = Physically accurate (fine for small boats). Large vessels (>50m) typically need 5-20 for responsive turning.
True Wind Velocity
TrueWindVelocity
FVector
Zero VectorWind interface for sail calculations
Enable Windage
bEnableWindage
bool
trueEnable air resistance (windage) calculation. Affects high-speed vessels and those with significant superstructure.
Windage Frontal Area
WindageFrontalArea
float
0
at least 0
Frontal area for wind resistance (cm²). 0 = estimated from the hull’s beam and freeboard.
Windage Lateral Area
WindageLateralArea
float
0
at least 0
Side area for wind pressure (cm²). 0 = estimated from the hull’s length and freeboard.
Windage Drag Coefficient
WindageDragCoefficient
float
0.8
0.1 to 2
Air drag coefficient for windage. 0.3-0.5 for streamlined vessels, 0.8-1.2 for boxy superstructures.
FunctionInputsOutputsDescription
Initialize
Initialize
In Vessel Data UDRW_VesselDataAsset*
In Physics Root UPrimitiveComponent*
In Buoyancy UDRW_BuoyancyComponent*
Initialize the component with vessel configuration. Called by VesselPawn after setting VesselData.
Set Input
SetInput
New Input FDRW_VesselInputSet current input state. Called each tick by owning pawn.
Get Movement Output
GetMovementOutput
Return const FDRW_VesselMovementOutput&Get current movement output data Pure.
Get Movement State
GetMovementState
Return EDRW_VesselMovementStateGet current movement state Pure.
Get Speed
GetSpeed
Return floatGet speed in cm/s Pure.
Get Speed Knots
GetSpeedKnots
Return floatGet speed in knots Pure.
Get Froude Number
GetFroudeNumber
Return floatGet current Froude number Pure.
Is Planing
IsPlaning
Return boolIs the vessel currently planing? Pure.
Is Foiling
IsFoiling
Return boolIs the vessel currently foiling? Pure.
Get Propulsion State
GetPropulsionState
Index int32Return bool
Out State FDRW_PropulsionState
Get propulsion state for a specific source Pure.
Get Control Surface State
GetControlSurfaceState
Index int32Return bool
Out State FDRW_ControlSurfaceState
Get control surface state Pure.
Set Wind Velocity
SetWindVelocity
Wind Velocity Cm Per Sec FVector
Get Apparent Wind
GetApparentWind
Return FVectorPure.
EventSignatureDescription
On Movement State ChangedNew State EDRW_VesselMovementStateFired when movement state changes (displacement <-> planing <-> foiling)

DRW Vessel Input

Reads Enhanced Input for a vessel and sends it to the server in multiplayer. Input can be created automatically, come from a Vessel Input Config data asset, or use input actions you assign.

Guide: Your first vessel

Input

PropertyDefaultDescription
Input Source
InputSource
EDRW_VesselInputSource
Auto: Keyboard + MouseHow to configure input bindings

Input › Custom Config

PropertyDefaultDescription
Input Config
InputConfig
UDRW_VesselInputConfig*
Input configuration asset (used when InputSource = CustomConfig) Shown when Input Source == Custom: DataAsset.

Input › Camera

PropertyDefaultDescription
Camera Component
CameraComponent
TWeakObjectPtr<UDRW_VesselCameraComponent>
Camera component to control. If not set, will auto-find on owner.
Invert Camera Y
bInvertCameraY
bool
falseInvert camera Y axis
Camera Look Sensitivity
CameraLookSensitivity
float
1
0.1 to 5
Camera look sensitivity multiplier
Camera Zoom Sensitivity
CameraZoomSensitivity
float
1
0.1 to 5
Camera zoom sensitivity multiplier

Input › Custom Actions

PropertyDefaultDescription
IA Throttle
IA_Throttle
UInputAction*
Throttle: 1D Axis (-1 to 1) Shown when Input Source == Custom: Individual Actions.
IA Steering
IA_Steering
UInputAction*
Steering: 1D Axis (-1 to 1) Shown when Input Source == Custom: Individual Actions.
IA Trim Left
IA_TrimLeft
UInputAction*
Shown when Input Source == Custom: Individual Actions.
IA Trim Right
IA_TrimRight
UInputAction*
Shown when Input Source == Custom: Individual Actions.
IA Main Sheet
IA_MainSheet
UInputAction*
Shown when Input Source == Custom: Individual Actions.
IA Jib Sheet
IA_JibSheet
UInputAction*
Shown when Input Source == Custom: Individual Actions.
IA Spinnaker
IA_Spinnaker
UInputAction*
Shown when Input Source == Custom: Individual Actions.
IA Centerboard
IA_Centerboard
UInputAction*
Shown when Input Source == Custom: Individual Actions.
IA Bow Thruster
IA_BowThruster
UInputAction*
Shown when Input Source == Custom: Individual Actions.
IA Stern Thruster
IA_SternThruster
UInputAction*
Shown when Input Source == Custom: Individual Actions.
IA Left Paddle
IA_LeftPaddle
UInputAction*
Shown when Input Source == Custom: Individual Actions.
IA Right Paddle
IA_RightPaddle
UInputAction*
Shown when Input Source == Custom: Individual Actions.
IA Rowing Power
IA_RowingPower
UInputAction*
Shown when Input Source == Custom: Individual Actions.
IA Foil Angle
IA_FoilAngle
UInputAction*
Shown when Input Source == Custom: Individual Actions.
Custom Mapping Context
CustomMappingContext
UInputMappingContext*
Mapping context (used with CustomActions) Shown when Input Source == Custom: Individual Actions.
Mapping Context Priority
MappingContextPriority
int32
0Priority for the mapping context Shown when Input Source == Custom: Individual Actions.

Input › Custom Actions › Camera

PropertyDefaultDescription
IA Camera Look
IA_CameraLook
UInputAction*
Camera Look: 2D Axis Shown when Input Source == Custom: Individual Actions.
IA Camera Zoom
IA_CameraZoom
UInputAction*
Camera Zoom: 1D Axis Shown when Input Source == Custom: Individual Actions.
IA Camera Cycle Mode
IA_CameraCycleMode
UInputAction*
Cycle Camera Mode: Bool Shown when Input Source == Custom: Individual Actions.
IA Camera First Person
IA_CameraFirstPerson
UInputAction*
Toggle First Person: Bool Shown when Input Source == Custom: Individual Actions.
IA Camera Reset
IA_CameraReset
UInputAction*
Reset Camera: Bool Shown when Input Source == Custom: Individual Actions.

Input › Settings

PropertyDefaultDescription
Input Smoothing
InputSmoothing
float
0
0 to 0.99
Smoothing for analog inputs (0 = none, 1 = heavy)
Dead Zone
DeadZone
float
0.1
0 to 0.5
Dead zone for analog inputs

Input › Replication

PropertyDefaultDescription
Input Send Rate
InputSendRate
float
30
1 to 60
How often to send input to server (in seconds). Lower = more responsive but more bandwidth
Input Change Tolerance
InputChangeTolerance
float
0.01
0.001 to 0.1
Minimum input change threshold to trigger a network send (prevents spam)
Send Periodic Full State
bSendPeriodicFullState
bool
trueSend full input state periodically even if unchanged (for reliability)
Full State Send Interval
FullStateSendInterval
float
0.5
0.1 to 2
Interval for full state sends when input hasn’t changed Editable when Send Periodic Full State.
FunctionInputsOutputsDescription
Get Local Input
GetLocalInput
Return const FDRW_VesselInput&Get the current local input state Pure.
Is Processing Input
IsProcessingInput
Return boolCheck if this component is processing input (locally controlled) Pure.
Force Replicate Input
ForceReplicateInput
Force send current input to server (use sparingly)

DRW Vessel Camera Component

A boat camera with horizon stabilization, smoothing that absorbs wave motion, speed-based field of view and zoom, several camera modes and collision avoidance.

Guide: Your first vessel

Camera › Config

PropertyDefaultDescription
Config
Config
FDRW_VesselCameraConfig

Camera › Stabilization

PropertyDefaultDescription
Stabilization
Stabilization
FDRW_CameraStabilization

Camera › Speed Effects

PropertyDefaultDescription
Speed Effects
SpeedEffects
FDRW_CameraSpeedEffects

Camera › Input

PropertyDefaultDescription
Invert Look X
bInvertLookX
bool
false
Invert Look Y
bInvertLookY
bool
false
Zoom Speed
ZoomSpeed
float
500
at least 100
Zoom speed (arm length change per second per unit input)
Look Sensitivity
LookSensitivity
float
0.5
at least 0.1
Recenter Speed
RecenterSpeed
float
1
at least 0
How fast the camera swings back behind the vessel when there is no look input. Higher is faster.
Min Pitch Offset
MinPitchOffset
float
-45
-89 to 89
Clamp for pitch offset (degrees)
Max Pitch Offset
MaxPitchOffset
float
30
-89 to 89

Camera › Collision

PropertyDefaultDescription
Do Collision Test
bDoCollisionTest
bool
true
Collision Probe Size
CollisionProbeSize
float
12
at least 1
Collision Channel
CollisionChannel
ECollisionChannel
CameraCollision channel to use
Collision Smooth Speed
CollisionSmoothSpeed
float
10
1 to 50

Components

PropertyDefaultDescription
Spring Arm
SpringArm
USpringArmComponent*
Spring arm for third person camera positioning - visible in editor Read only.
Camera
Camera
UCameraComponent*
Main camera - visible in editor Read only.
FunctionInputsOutputsDescription
Add Look Input
AddLookInput
Input FVector2DAdd look input (for orbit/freelook modes, or third person offset)
Add Zoom Input
AddZoomInput
Input floatAdd zoom input (-1 to 1)
Initialize For Possession
InitializeForPossession
Initialize camera to match vessel rotation - call this on possession
Get Camera
GetCamera
Return UCameraComponent*Get the camera component Pure.
Get Spring Arm
GetSpringArm
Return USpringArmComponent*Get the spring arm component Pure.
Get Smoothed Location
GetSmoothedLocation
Return FVectorGet current smoothed camera location (world space) Pure.
Get Smoothed Rotation
GetSmoothedRotation
Return FRotatorGet current smoothed camera rotation (world space) Pure.
Get Current FOV
GetCurrentFOV
Return floatGet current field of view Pure.

DRW Vessel Possession

Lets any pawn take direct control of a vessel pawn and return to its own body afterwards. It handles the server request and the controller swap.

Guide: Possession vs seats

PropertyDefaultDescription
Search Range
SearchRange
float
500Default search range for FindNearestVesselPawnDefault (cm)
FunctionInputsOutputsDescription
Request Possess Vessel
RequestPossessVessel
Target Vessel ADRW_VesselPawn*Return boolRequest to possess a VesselPawn. Sends server RPC if needed. Returns True if the request was sent (not necessarily successful yet)
Find Nearest Vessel Pawn
FindNearestVesselPawn
Range floatReturn ADRW_VesselPawn*Find the nearest unpossessed VesselPawn within range. Search radius in cm Returns Nearest unpossessed VesselPawn, or nullptr
Find Nearest Vessel Pawn Default
FindNearestVesselPawnDefault
Return ADRW_VesselPawn*Find nearest VesselPawn using the default SearchRange
EventSignatureDescription
On Vessel PossessedComponent UDRW_VesselPossessionComponent*
Vessel ADRW_VesselPawn*
Fired when this pawn’s controller successfully possesses a VesselPawn
On Returned From VesselComponent UDRW_VesselPossessionComponent*
Vessel ADRW_VesselPawn*
Fired when the controller returns to this pawn after exiting a vessel

DRW Seat Occupant

Lets any pawn or character occupy vessel seats. While seated, its input reaches the vessel through the server.

Guide: Possession vs seats

FunctionInputsOutputsDescription
Request Occupy Seat
RequestOccupySeat
Seat ADRW_VesselSeat*Request to occupy a seat - sends to server if needed. Sets TargetSeat immediately for client-side tracking.
Request Vacate Seat
RequestVacateSeat
Request to vacate current seat - uses GetTargetOrCurrentSeat() to handle replication delay
Find Nearest Seat
FindNearestSeat
Range float = 500Return ADRW_VesselSeat*Find the nearest unoccupied seat within range. Uses sphere overlap query. Search radius in cm Returns Nearest unoccupied seat, or nullptr
Get Current Seat
GetCurrentSeat
Return ADRW_VesselSeat*Get the seat this pawn is currently occupying (replicated). Returns nullptr if not in any seat. Pure.
Get Target Or Current Seat
GetTargetOrCurrentSeat
Return ADRW_VesselSeat*Get CurrentSeat if valid, else TargetSeat. Handles the client replication delay where CurrentSeat hasn’t been set yet but TargetSeat was set locally in RequestOccupySeat. Pure.
Is In Seat
IsInSeat
Return boolCheck if currently occupying any seat. Pure.
Is In Seat Or Pending
IsInSeatOrPending
Return boolCheck if in a seat or waiting for server confirmation. Pure.
Get Current Vessel
GetCurrentVessel
Return ADRW_Vessel*Get the vessel of the current seat (convenience function). Returns nullptr if not in a seat or seat has no linked vessel. Pure.
EventSignatureDescription
On Seat EnteredComponent UDRW_SeatOccupantComponent*
Seat ADRW_VesselSeat*
Fired when occupant enters a seat (CurrentSeat set to non-null)
On Seat ExitedComponent UDRW_SeatOccupantComponent*
Seat ADRW_VesselSeat*
Fired when occupant exits a seat (CurrentSeat set to null)