Skip to content

Building a vessel from your own mesh

A drivable DRW boat is a Blueprint of DRW Vessel Pawn or DRW Vessel with three things filled in: a hull mesh, physics shapes that float it, and a Vessel Data asset that describes the hull, its resistance, its stability and what drives and steers it. This page walks through each part and shows the values the shipped BP_Dinghy and BP_Runabout use.

DRW Vessel PawnDRW Vessel
What it isA pawn the player possesses, like a vehicleAn actor that simulates without being possessed
Player inputBuilt in (VesselInput component)Through a Helm seat, or Set Input from your own logic
CameraBuilt in (VesselCamera component)Your own, or a seat camera
SeatsNoYes, DRW Vessel Seat actors attached to it
Typical useOne driver who is the boatCharacters on deck, crew, AI or scripted boats
Shipped examplesBP_Runabout, BP_DinghyNone

DRW Vessel Pawn is abstract: you always make a Blueprint child of it. Possession vs seats explains the two control models in depth.

Both classes create the same simulation components. You configure them; you do not add them.

ComponentClassRole
HullMeshStatic MeshRoot. Your visible hull, simulating physics.
PhysicsBodyDRW Physics BodyThe shapes that give the hull buoyancy and mass. Targets the component named HullMesh.
BuoyancyDRW BuoyancyFloats the hull on the ocean, rivers, lakes and pools.
MovementDRW Vessel MovementThrust, steering, hull resistance, sideways drag, planing lift, windage and stability, from the Vessel Data.
ReplicationDRW Smooth ReplicationSmooths the hull’s motion on clients in multiplayer.
VesselInputDRW Vessel InputVessel Pawn only. Reads the player’s keys.
VesselCameraDRW Vessel CameraVessel Pawn only. Third-person boat camera.

The shipped boats add a DRW Waterline component and a mask that keeps ocean water out of the open hull: BP_Runabout uses a DRW Surface Mask component with the mesh DRW_RunaBoat_Mask, BP_Dinghy a static mesh named Mask with DRW_WoodDinghyBoat_Mask and the material M_WaterMasking. Add the same to your boat if water shows inside its hull. See DRW Surface Mask.

  1. Create the Blueprint. Either duplicate BP_Runabout or BP_Dinghy (you keep their waterline, mask and camera setup) or create a Blueprint Class with DRW Vessel Pawn (or DRW Vessel) as parent.

  2. Set the hull mesh. Select HullMesh and set its Static Mesh. The mesh needs simple collision: without it the hull cannot simulate physics. That collision makes the boat bump into docks and other boats, lets the drone measure its distance to the hull, and affects how readily the hull rolls and turns.

    The Vessel Pawn’s Hull Mesh Asset setting also exists: when set, it replaces the HullMesh mesh at Begin Play. Setting the mesh on the component is simpler, because you see it in the viewport.

  3. Check orientation and pivot. HullMesh is the root, so you cannot rotate it inside the Blueprint. The mesh asset itself must point its bow along +X, with +Y to starboard and +Z up. Fix it in your modeling tool or re-import it with an import rotation.

    Put the pivot at the waterline, midway along the hull. Every Local Position in the data assets is measured from it, and the hull’s own drag, wind and planing forces are placed relative to it, so a pivot far from the waterline makes the boat trim and heel oddly.

  4. Add physics shapes. On PhysicsBody, add Spheres, Boxes or Capsules that fill the hull’s volume. Each shape’s Material Type sets its density; Air shapes subtract volume and mass, for hollow hulls. When play starts, the shapes’ total mass becomes the hull’s mass. Use Center Of Mass Offset (cm, in the mesh’s space) to move the center of mass: lower is more stable. Approximating a hull with physics shapes covers shapes in detail.

    Worked example: BP_Runabout uses three Wood spheres of 60 cm radius at X = 240, -20 and -240 cm, and a Center Of Mass Offset of (-75, 5, -300). BP_Dinghy uses three Wood spheres of 30 cm radius at X = 100, -20 and -140 cm, with an offset of (0, 0, -30).

  5. Create the data assets. In the Content Browser, choose Miscellaneous > Data Asset and create one of each: DRW Vessel Data Asset, DRW Hull Data Asset, DRW Hydrodynamics Data Asset, DRW Stability Data Asset, one DRW Propulsion Data Asset per thrust source and one DRW Control Surface Data Asset per rudder, tab, foil, board or thruster. Duplicating the Runabout or Dinghy assets and editing them is faster.

  6. Fill in the Vessel Data (next section) and assign it to Vessel Data on the Blueprint (category DRW Vessel).

  7. Validate. Right-click the Vessel Data asset and run Validate Assets. It reports a missing hull, empty propulsion or control surface entries, and boats with no way to steer.

  8. Test. Place the boat on water, possess it with the drone (F) and drive. Your first vessel has the default keys. For tuning, run the console command drw.debug.preset movement to draw thrust, steering, drag, planing and wind forces with a speed readout, and drw.debug.preset off to hide them.

SettingRequiredWhat it holds
Display Name, Description, Icon, TagsNoIdentity for your UI. Not used by the simulation.
HullYesHull dimensions and form. Without it the boat does not initialize and logs VesselData is invalid (missing Hull).
HydrodynamicsRecommendedResistance, sideways grip, added mass, planing.
StabilityRecommendedExtra righting, damping and auto level.
Propulsion SourcesFor a boat that movesEngines, jets, sails, paddles, oars. Several entries add up.
Control SurfacesFor most boatsRudders, trim tabs, hydrofoils, centerboards, keels, thrusters.

Validation checks: Hull must be set; an empty Propulsion Sources warns that the vessel will only drift; empty array entries are reported; and a boat needs a Rudder or a propulsion source with Can Steer, or it warns that it has no steering. Thrusters do not count as steering for this check.

The asset’s Blueprint functions Has Engine (engines and jets), Has Sail, Get Total Power KW and Get Total Sail Area (m²) help with UI.

Reference: DRW Vessel Data Asset, DRW Hull Data Asset, DRW Hydrodynamics Data Asset, DRW Stability Data Asset.

The hull asset describes dimensions and shape for the resistance and stability of the hull. It does not change how high the boat floats or how heavy it is: the physics shapes do that.

SettingDefault (range)What it changes
Hull TypeDisplacementA broad preset for resistance, sideways grip and stability. It does not turn planing or foiling on. See Hull types and movement states.
Waterline Length500 cm (min 10)Length at the waterline, not overall length. The most important dimension: it sets the speed at which resistance climbs steeply (hull speed), and the Froude number used by the Drag Curve is measured against it. Longer hulls also grip more sideways and resist turning and pitching more.
Waterline Beam150 cm (min 10)Width at the waterline. Wider hulls have more resistance and catch more wind from ahead (automatic windage).
Draft50 cm (min 1)Depth below the waterline. Deeper hulls have more friction and more sideways grip.
Freeboard100 cm (min 1)Height above the waterline. Taller sides catch more wind (automatic windage).
Block Coefficient0.5 (0.2 to 0.95)Overall fullness. Fuller hulls have more resistance.
Midship Coefficient0.85 (0.6 to 1.0)Fullness of the widest section. Higher gives more sideways grip and more roll damping.
Prismatic Coefficient0.65 (0.5 to 1.0)Volume spread toward the ends. Higher moves the resistance peak to a higher speed and makes it larger.
Waterplane Coefficient0.75 (0.5 to 1.0)Waterplane fullness. Higher strengthens the Stability asset’s righting and adds a little resistance.
Deadrise Angle15° (0 to 30)Bottom V angle at the transom. Flatter bottoms get more planing lift.

The asset also has Blueprint functions: Get Hull Speed (cm/s), Get Froude Number (from a speed in cm/s), Get Displacement Volume and Get Wetted Surface Area (cm³ and cm², estimated from the dimensions).

SettingDefault (range)What it changes
Frictional Multiplier1.0 (0.1 to 3)Scales skin friction. Above 1 for a rough or fouled hull.
Wave Making Multiplier1.0 (0.1 to 3)Scales wave-making resistance, the drag that climbs steeply around hull speed.
Appendage Factor1.1 (1.0 to 1.5)Drag of rudders, shafts and keels: 1.1 adds 10% to the friction drag.
Form Factor1.15 (1.0 to 2.0)Raises friction for the hull’s 3D shape.
Lateral Drag Coefficient1.5 (0.5 to 5)Sideways grip. Higher tracks through turns, lower slides.
Added Mass Longitudinal, Lateral, Vertical0.05 (0 to 0.5), 0.8 (0 to 1.5), 0.3 (0 to 1)Make the hull feel heavier along that axis: thrust, steering, resistance, sideways drag, wind and planing lift along it all have less effect. Because sideways drag is weakened too, raising Added Mass Lateral does not add grip. Buoyancy is not affected.
Added Inertia Roll, Pitch, Yaw0.25 (0 to 1), 0.3 (0 to 1), 1.0 (0 to 2)Weaken the Stability asset’s righting, damping and auto level about that axis. They do not change how hard the rudder turns the boat.
Enable PlaningOffTurns on the Transition and Planing states, planing lift and the lower friction at speed.
Planing Threshold Speed500 cm/s (min 100)Center of the planing transition. See Tuning a planing hull.
Planing Lift Coefficient0.3 (0 to 1)Largest share of the boat’s weight that planing lift carries. Values below 0.1 act as 0.1 and above 0.8 as 0.8.
Planing Wetted Area Ratio0.4 (0.2 to 1)Wetted area at full plane, as a share of the area at rest. Lower means less friction at speed.
Drag CurveNoneOptional curve that multiplies the total hull resistance. X = Froude number, Y = multiplier.

These torques come on top of the righting that the buoyancy shapes already give. Hull Type and the current movement state also change their strength.

SettingDefault (range)What it changes
Metacentric Height100 cm (min 1)Righting strength: higher values right the boat harder.
Vertical Center Of Gravity0 cm (-500 to 500)Positive values weaken righting, negative values strengthen it. It does not move the physics center of mass; Center Of Mass Offset does.
Max Righting Angle60° (30 to 180)Used when there is no Righting Arm Curve: righting grows up to this heel angle, weakens to nothing at twice the angle, and pushes the boat over beyond that.
Righting Arm CurveNoneReplaces the roll righting that Metacentric Height gives. X = heel angle in degrees (both sides use the same curve), Y = righting arm in cm. Pitch still uses Metacentric Height.
Righting Torque Scale1.0 (0 to 2)Scales this asset’s roll and pitch righting. It rights toward the world horizon, so on large waves it fights the hull; 0 leaves righting to the buoyancy shapes alone, and the boat can capsize in heavy seas.
Natural Roll Period4 s (1 to 20)Sets how strongly Roll Damping acts: a longer period makes the same damping value stronger.
Roll Damping0.5 (0 to 5)Resists rolling motion.
Pitch Damping0.3 (0 to 5)Resists pitching motion (hobby-horsing).
Yaw Damping0.2 (0 to 5)Resists turning motion. Higher tracks straighter but steers slower.
Bilge Keel Factor0 (0 to 2)Extra roll damping, strongest at rest and fading as speed rises.
Enable Auto LevelOffArcade assist that pushes the hull back toward level.
Auto Level Strength0.1 (0 to 1)How hard the assist pushes back. It builds up as the heel or trim passes Auto Level Max Angle, and acts more weakly on pitch than on roll.
Auto Level Max Angle15° (1 to 45)Heel or trim below which the assist does nothing.

Every propulsion type and control surface, with all its settings, is on Engines, sails, rudders and foils. In short: Type chooses what the entry is, Local Position (cm from the pivot) is where its force acts, and a propulsion source with Can Steer swings its thrust with the steering input.

These are the values saved in the shipped assets. Settings not listed are at their default or do not apply to that type.

HullDA_Dinghy_HullDA_Runabout_Hull
Hull TypeDisplacementPlaning
Waterline Length / Beam280 / 130 cm500 / 200 cm
Draft / Freeboard20 / 35 cm45 / 90 cm
Block / Midship / Prismatic / Waterplane0.45 / 0.80 / 0.58 / 0.720.40 / 0.88 / 0.68 / 0.82
Deadrise Angle5°10°
HydrodynamicsDA_Dinghy_HydroDA_Runabout_Hydro
Frictional Multiplier1.21.0
Appendage Factor / Form Factor1.0 / 1.21.08 / 1.12
Lateral Drag Coefficient0.81.2
Added Mass Long. / Lat. / Vert.0.08 / 0.5 / 0.50.06 / 0.7 / 0.35
Added Inertia Roll / Pitch / Yaw0.15 / 0.25 / 0.60.25 / 0.35 / 0.9
PlaningOffOn: threshold 550 cm/s, lift 0.35, wetted area 0.45, Drag Curve FC_Runabout_Drag
StabilityDA_Dinghy_StabilityDA_Runabout_Stability
Metacentric Height / Vertical Center Of Gravity45 / 10 cm120 / 20 cm
Max Righting Angle55°55°
Righting Arm CurveFC_Dinghy_RightArmFC_Runabout_RightArm
Natural Roll Period2.5 s3.5 s
Roll / Pitch / Yaw Damping0.6 / 0.5 / 0.250.6 / 0.4 / 0.25

Propulsion and control surfaces:

  • Dinghy, DA_Dinghy_Propulsion “Rowing Oars”: Type Oar, Local Position (0, 0, 30), Can Steer on (Max Steering Angle 30°), Max Human Power 100 W, Blade Area 900 cm², Blade Efficiency 0.55. No control surfaces.
  • Runabout, DA_Runabout_Propulsion “300HP Outboard”: Type Engine, Local Position (-280, -5, -120), Can Steer on (30°), Max Power KW 224, Max RPM 6000, Idle RPM 800, Throttle Response 2.5, Reverse Efficiency 0.45, Prop Diameter 38 cm, Prop Pitch 43 cm, Torque Curve FC_Runabout_Torque, Torque Curve Prop FC_Runabout_PropTorque.
  • Runabout, DA_Runabout_Leg “Outboard Leg”: Type Rudder, Local Position (-290, -5, -120), Rudder Area 200 cm², Max Deflection 30°, Deflection Rate 60°/s, Stall Angle 25°.

Curves are ordinary Float Curve assets. Past the last key a curve keeps its last value. The curves the shipped boats use:

CurveUsed asKeys (X, Y)
FC_Runabout_DragDrag Curve(0, 1.0), (0.45, 1.45), (1.0, 0.6): extra drag around hull speed, less once planing
FC_Runabout_TorqueTorque Curve(0, 0.0005), (0.7, 1.0), (1.0, 0.88): X = RPM / Max RPM, Y = share of peak torque
FC_Runabout_PropTorqueTorque Curve Prop(0, 0.055), (0.5, 0.034), (1.0, 0.02)
FC_Runabout_RightArmRighting Arm Curve(0°, 0), (1°, 0.88), (35°, 45.5), (60°, 0), (70°, -35): righting arm in cm
FC_Dinghy_RightArmRighting Arm Curve(0°, 0), (20°, 12), (30°, 9), (50°, 0.8), (55°, 0)

On the Blueprint (category DRW Vessel): Vessel Data, Hull Mesh Asset, Enable Multiplayer (on) and Net Update Rate (30 Hz, 1 to 60). Multiplayer model covers the network settings.

On the Movement component (category DRW Vessel Movement):

SettingDefault (range)What it does
Calculation Rate Hz30 (1 to 120)Overwritten at Begin Play with the Buoyancy component’s Calculation Rate Hz, so both always match. Change it on Buoyancy.
Interpolation Strength0.85 (0 to 1)Smooths the movement forces between updates. 0 applies each new update at once; higher values blend in more of the previous update, which is smoother but responds slightly later.
Force Multiplier1.0 (0.1 to 10)Scales every force and torque this component applies. Buoyancy is not affected.
Turn Assist Multiplier1.0 (1 to 50)Multiplies the turning torque from control surfaces (rudders, thrusters). For large vessels that turn too slowly. Steerable propulsion is not affected.
True Wind Velocity(0, 0, 0) cm/sWorld wind for sails and windage. Nothing sets it automatically: set it, or call Set Wind Velocity.
Enable WindageOnAir drag on the hull above the water. With no wind it acts as air resistance.
Windage Frontal Area, Windage Lateral Area0 cm²0 means automatic: estimated from the Hull asset’s beam, length and freeboard.
Windage Drag Coefficient0.8 (0.1 to 2)0.3 to 0.5 for streamlined boats, 0.8 to 1.2 for boxy superstructures.

The Movement component simulates only where physics runs (the server, or single player).

The VesselCamera component (DRW Vessel Camera) is a third-person camera on a spring arm. The view never rolls or pitches with the hull.

SettingDefaultWhat it does
Config > Arm Length800 cm (100 to 100000)Starting distance. BP_Dinghy uses 400.
Config > Min Arm Length, Max Arm Length200 cm, 2000 cmZoom limits for the mouse wheel.
Config > Socket Offset, Target Offset(0, 0, 100), (0, 0, 50) cmSpring arm offsets.
Config > Base Pitch-15° (-89 to 89)Default up-down angle; negative looks down.
Config > Orbit Speed120 (10 to 500)Look speed, in degrees per second at full input (also scaled by Look Sensitivity).
Stabilization > Smooth PositionOnSmooths the camera’s position.
Stabilization > Position Lag0.15 s (0 to 1)How far the camera lags the boat’s vertical motion. Raise it to bob less in waves. Horizontal follow stays tight.
Stabilization > Max Position Offset500 cmThe furthest the smoothed position may trail the boat.
Stabilization > Yaw Follow Speed3 (0.1 to 20)How quickly the camera swings around to the boat’s heading.
Speed Effects > Speed FOV, Base FOV, Max Speed FOVOn, 90°, 105°Field of view widens with speed.
Speed Effects > Max Speed Threshold30 m/sSpeed at which Max Speed FOV and the full arm extension are reached.
Speed Effects > FOV Interp Speed2How fast the field of view follows.
Speed Effects > Speed Zoom Out, Max Speed Arm Length AddOn, 200 cmPulls the camera back with speed.
Zoom Speed500Arm length change per second per unit of zoom input.
Look Sensitivity0.5Multiplies look input.
Recenter Speed1How fast the camera returns behind the boat when you stop looking sideways. 0 keeps your angle (BP_Runabout uses 0).
Min Pitch Offset, Max Pitch Offset-45°, 30°Limits for looking down and up from Base Pitch.
Invert Look X, Invert Look YOffFlip look axes.
Do Collision Test, Collision Probe Size, Collision Channel, Collision Smooth SpeedOn, 12 cm, Camera, 10Pulls the camera in when something blocks the view. The boat and actors attached to it are ignored.

The third-person view always stays level, so Stabilize Horizon, Roll Dampening, Pitch Dampening and Stabilization Speed do not change it.

The VesselInput component (DRW Vessel Input) turns Enhanced Input into vessel input. Input Source picks where the bindings come from:

Input SourceBindings
Auto: Keyboard + Mouse (default)Built-in keyboard layout. See Your first vessel.
Auto: GamepadBuilt-in gamepad layout.
Auto: Keyboard + GamepadBoth.
Custom: DataAssetA DRW Vessel Input Config data asset: its Mapping Context, Mapping Priority and one Input Action per input.
Custom: Individual ActionsThe IA Throttle, IA Steering, … Input Actions set on the component itself, plus Custom Mapping Context and Mapping Context Priority.

For custom actions, use Axis1D for every vessel input (Throttle and Steering from -1 to 1, the others from 0 to 1 except bow and stern thruster and foil angle, which take -1 to 1), Axis2D for camera look and Axis1D for camera zoom. A digital key gives 1 while held and 0 when released.

Other settings: Dead Zone (0.1, 0 to 0.5) applies to throttle and steering and rescales the rest of the range; Input Smoothing (0 = none, up to 0.99 = heavy) eases every input toward its target; Camera Look Sensitivity and Camera Zoom Sensitivity (1.0, 0.1 to 5) multiply camera input. Invert Camera Y on this component and Invert Look Y on the camera both flip the vertical look, so set only one. The replication settings (Input Send Rate and the rest) are covered in Multiplayer model.

SymptomCheck
Boat does not move at all and the log says No VesselData assigned or missing HullAssign Vessel Data, and a Hull inside it. A DRW Vessel without valid data also logs Vessel::Tick: NOT INITIALIZED every frame.
Hull falls through the water or does not simulateThe static mesh has no simple collision, or the PhysicsBody has no shapes.
Slides sideways through every turnNo Hydrodynamics asset, or a low Lateral Drag Coefficient.
Steers only when moving fastThe rudder’s Min Effective Speed is high, or no engine or jet sits ahead of the rudder. See Rudder.
Large vessel barely turnsRaise Turn Assist Multiplier on Movement.
Rolls over too easilyLower Center Of Mass Offset Z, raise Metacentric Height or lower Vertical Center Of Gravity.
Feels glued upright in big wavesLower Righting Torque Scale and let the buoyancy shapes do the righting.
Sails give no driveTrue Wind Velocity is zero.
Water visible inside the hullAdd a surface mask, as the shipped boats do.