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.
Pick a base class
Section titled “Pick a base class”| DRW Vessel Pawn | DRW Vessel | |
|---|---|---|
| What it is | A pawn the player possesses, like a vehicle | An actor that simulates without being possessed |
| Player input | Built in (VesselInput component) | Through a Helm seat, or Set Input from your own logic |
| Camera | Built in (VesselCamera component) | Your own, or a seat camera |
| Seats | No | Yes, DRW Vessel Seat actors attached to it |
| Typical use | One driver who is the boat | Characters on deck, crew, AI or scripted boats |
| Shipped examples | BP_Runabout, BP_Dinghy | None |
DRW Vessel Pawn is abstract: you always make a Blueprint child of it. Possession vs seats explains the two control models in depth.
Components you get
Section titled “Components you get”Both classes create the same simulation components. You configure them; you do not add them.
| Component | Class | Role |
|---|---|---|
| HullMesh | Static Mesh | Root. Your visible hull, simulating physics. |
| PhysicsBody | DRW Physics Body | The shapes that give the hull buoyancy and mass. Targets the component named HullMesh. |
| Buoyancy | DRW Buoyancy | Floats the hull on the ocean, rivers, lakes and pools. |
| Movement | DRW Vessel Movement | Thrust, steering, hull resistance, sideways drag, planing lift, windage and stability, from the Vessel Data. |
| Replication | DRW Smooth Replication | Smooths the hull’s motion on clients in multiplayer. |
| VesselInput | DRW Vessel Input | Vessel Pawn only. Reads the player’s keys. |
| VesselCamera | DRW Vessel Camera | Vessel 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.
Build it
Section titled “Build it”-
Create the Blueprint. Either duplicate
BP_RunaboutorBP_Dinghy(you keep their waterline, mask and camera setup) or create a Blueprint Class with DRW Vessel Pawn (or DRW Vessel) as parent. -
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.
-
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.
-
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_Runaboutuses 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_Dinghyuses three Wood spheres of 30 cm radius at X = 100, -20 and -140 cm, with an offset of (0, 0, -30). -
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.
-
Fill in the Vessel Data (next section) and assign it to Vessel Data on the Blueprint (category DRW Vessel).
-
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.
-
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 movementto draw thrust, steering, drag, planing and wind forces with a speed readout, anddrw.debug.preset offto hide them.
The Vessel Data asset
Section titled “The Vessel Data asset”| Setting | Required | What it holds |
|---|---|---|
| Display Name, Description, Icon, Tags | No | Identity for your UI. Not used by the simulation. |
| Hull | Yes | Hull dimensions and form. Without it the boat does not initialize and logs VesselData is invalid (missing Hull). |
| Hydrodynamics | Recommended | Resistance, sideways grip, added mass, planing. |
| Stability | Recommended | Extra righting, damping and auto level. |
| Propulsion Sources | For a boat that moves | Engines, jets, sails, paddles, oars. Several entries add up. |
| Control Surfaces | For most boats | Rudders, 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.
| Setting | Default (range) | What it changes |
|---|---|---|
| Hull Type | Displacement | A broad preset for resistance, sideways grip and stability. It does not turn planing or foiling on. See Hull types and movement states. |
| Waterline Length | 500 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 Beam | 150 cm (min 10) | Width at the waterline. Wider hulls have more resistance and catch more wind from ahead (automatic windage). |
| Draft | 50 cm (min 1) | Depth below the waterline. Deeper hulls have more friction and more sideways grip. |
| Freeboard | 100 cm (min 1) | Height above the waterline. Taller sides catch more wind (automatic windage). |
| Block Coefficient | 0.5 (0.2 to 0.95) | Overall fullness. Fuller hulls have more resistance. |
| Midship Coefficient | 0.85 (0.6 to 1.0) | Fullness of the widest section. Higher gives more sideways grip and more roll damping. |
| Prismatic Coefficient | 0.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 Coefficient | 0.75 (0.5 to 1.0) | Waterplane fullness. Higher strengthens the Stability asset’s righting and adds a little resistance. |
| Deadrise Angle | 15° (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).
Hydrodynamics
Section titled “Hydrodynamics”| Setting | Default (range) | What it changes |
|---|---|---|
| Frictional Multiplier | 1.0 (0.1 to 3) | Scales skin friction. Above 1 for a rough or fouled hull. |
| Wave Making Multiplier | 1.0 (0.1 to 3) | Scales wave-making resistance, the drag that climbs steeply around hull speed. |
| Appendage Factor | 1.1 (1.0 to 1.5) | Drag of rudders, shafts and keels: 1.1 adds 10% to the friction drag. |
| Form Factor | 1.15 (1.0 to 2.0) | Raises friction for the hull’s 3D shape. |
| Lateral Drag Coefficient | 1.5 (0.5 to 5) | Sideways grip. Higher tracks through turns, lower slides. |
| Added Mass Longitudinal, Lateral, Vertical | 0.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, Yaw | 0.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 Planing | Off | Turns on the Transition and Planing states, planing lift and the lower friction at speed. |
| Planing Threshold Speed | 500 cm/s (min 100) | Center of the planing transition. See Tuning a planing hull. |
| Planing Lift Coefficient | 0.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 Ratio | 0.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 Curve | None | Optional curve that multiplies the total hull resistance. X = Froude number, Y = multiplier. |
Stability
Section titled “Stability”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.
| Setting | Default (range) | What it changes |
|---|---|---|
| Metacentric Height | 100 cm (min 1) | Righting strength: higher values right the boat harder. |
| Vertical Center Of Gravity | 0 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 Angle | 60° (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 Curve | None | Replaces 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 Scale | 1.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 Period | 4 s (1 to 20) | Sets how strongly Roll Damping acts: a longer period makes the same damping value stronger. |
| Roll Damping | 0.5 (0 to 5) | Resists rolling motion. |
| Pitch Damping | 0.3 (0 to 5) | Resists pitching motion (hobby-horsing). |
| Yaw Damping | 0.2 (0 to 5) | Resists turning motion. Higher tracks straighter but steers slower. |
| Bilge Keel Factor | 0 (0 to 2) | Extra roll damping, strongest at rest and fading as speed rises. |
| Enable Auto Level | Off | Arcade assist that pushes the hull back toward level. |
| Auto Level Strength | 0.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 Angle | 15° (1 to 45) | Heel or trim below which the assist does nothing. |
Propulsion and control surfaces
Section titled “Propulsion and control surfaces”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.
Worked example: the shipped data
Section titled “Worked example: the shipped data”These are the values saved in the shipped assets. Settings not listed are at their default or do not apply to that type.
| Hull | DA_Dinghy_Hull | DA_Runabout_Hull |
|---|---|---|
| Hull Type | Displacement | Planing |
| Waterline Length / Beam | 280 / 130 cm | 500 / 200 cm |
| Draft / Freeboard | 20 / 35 cm | 45 / 90 cm |
| Block / Midship / Prismatic / Waterplane | 0.45 / 0.80 / 0.58 / 0.72 | 0.40 / 0.88 / 0.68 / 0.82 |
| Deadrise Angle | 5° | 10° |
| Hydrodynamics | DA_Dinghy_Hydro | DA_Runabout_Hydro |
|---|---|---|
| Frictional Multiplier | 1.2 | 1.0 |
| Appendage Factor / Form Factor | 1.0 / 1.2 | 1.08 / 1.12 |
| Lateral Drag Coefficient | 0.8 | 1.2 |
| Added Mass Long. / Lat. / Vert. | 0.08 / 0.5 / 0.5 | 0.06 / 0.7 / 0.35 |
| Added Inertia Roll / Pitch / Yaw | 0.15 / 0.25 / 0.6 | 0.25 / 0.35 / 0.9 |
| Planing | Off | On: threshold 550 cm/s, lift 0.35, wetted area 0.45, Drag Curve FC_Runabout_Drag |
| Stability | DA_Dinghy_Stability | DA_Runabout_Stability |
|---|---|---|
| Metacentric Height / Vertical Center Of Gravity | 45 / 10 cm | 120 / 20 cm |
| Max Righting Angle | 55° | 55° |
| Righting Arm Curve | FC_Dinghy_RightArm | FC_Runabout_RightArm |
| Natural Roll Period | 2.5 s | 3.5 s |
| Roll / Pitch / Yaw Damping | 0.6 / 0.5 / 0.25 | 0.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 CurveFC_Runabout_Torque, Torque Curve PropFC_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
Section titled “Curves”Curves are ordinary Float Curve assets. Past the last key a curve keeps its last value. The curves the shipped boats use:
| Curve | Used as | Keys (X, Y) |
|---|---|---|
FC_Runabout_Drag | Drag Curve | (0, 1.0), (0.45, 1.45), (1.0, 0.6): extra drag around hull speed, less once planing |
FC_Runabout_Torque | Torque Curve | (0, 0.0005), (0.7, 1.0), (1.0, 0.88): X = RPM / Max RPM, Y = share of peak torque |
FC_Runabout_PropTorque | Torque Curve Prop | (0, 0.055), (0.5, 0.034), (1.0, 0.02) |
FC_Runabout_RightArm | Righting Arm Curve | (0°, 0), (1°, 0.88), (35°, 45.5), (60°, 0), (70°, -35): righting arm in cm |
FC_Dinghy_RightArm | Righting Arm Curve | (0°, 0), (20°, 12), (30°, 9), (50°, 0.8), (55°, 0) |
Vessel and Movement settings
Section titled “Vessel and Movement settings”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):
| Setting | Default (range) | What it does |
|---|---|---|
| Calculation Rate Hz | 30 (1 to 120) | Overwritten at Begin Play with the Buoyancy component’s Calculation Rate Hz, so both always match. Change it on Buoyancy. |
| Interpolation Strength | 0.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 Multiplier | 1.0 (0.1 to 10) | Scales every force and torque this component applies. Buoyancy is not affected. |
| Turn Assist Multiplier | 1.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/s | World wind for sails and windage. Nothing sets it automatically: set it, or call Set Wind Velocity. |
| Enable Windage | On | Air drag on the hull above the water. With no wind it acts as air resistance. |
| Windage Frontal Area, Windage Lateral Area | 0 cm² | 0 means automatic: estimated from the Hull asset’s beam, length and freeboard. |
| Windage Drag Coefficient | 0.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).
Camera
Section titled “Camera”The VesselCamera component (DRW Vessel Camera) is a third-person camera on a spring arm. The view never rolls or pitches with the hull.
| Setting | Default | What it does |
|---|---|---|
| Config > Arm Length | 800 cm (100 to 100000) | Starting distance. BP_Dinghy uses 400. |
| Config > Min Arm Length, Max Arm Length | 200 cm, 2000 cm | Zoom limits for the mouse wheel. |
| Config > Socket Offset, Target Offset | (0, 0, 100), (0, 0, 50) cm | Spring arm offsets. |
| Config > Base Pitch | -15° (-89 to 89) | Default up-down angle; negative looks down. |
| Config > Orbit Speed | 120 (10 to 500) | Look speed, in degrees per second at full input (also scaled by Look Sensitivity). |
| Stabilization > Smooth Position | On | Smooths the camera’s position. |
| Stabilization > Position Lag | 0.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 Offset | 500 cm | The furthest the smoothed position may trail the boat. |
| Stabilization > Yaw Follow Speed | 3 (0.1 to 20) | How quickly the camera swings around to the boat’s heading. |
| Speed Effects > Speed FOV, Base FOV, Max Speed FOV | On, 90°, 105° | Field of view widens with speed. |
| Speed Effects > Max Speed Threshold | 30 m/s | Speed at which Max Speed FOV and the full arm extension are reached. |
| Speed Effects > FOV Interp Speed | 2 | How fast the field of view follows. |
| Speed Effects > Speed Zoom Out, Max Speed Arm Length Add | On, 200 cm | Pulls the camera back with speed. |
| Zoom Speed | 500 | Arm length change per second per unit of zoom input. |
| Look Sensitivity | 0.5 | Multiplies look input. |
| Recenter Speed | 1 | How 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 Y | Off | Flip look axes. |
| Do Collision Test, Collision Probe Size, Collision Channel, Collision Smooth Speed | On, 12 cm, Camera, 10 | Pulls 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 Source | Bindings |
|---|---|
| Auto: Keyboard + Mouse (default) | Built-in keyboard layout. See Your first vessel. |
| Auto: Gamepad | Built-in gamepad layout. |
| Auto: Keyboard + Gamepad | Both. |
| Custom: DataAsset | A DRW Vessel Input Config data asset: its Mapping Context, Mapping Priority and one Input Action per input. |
| Custom: Individual Actions | The 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.
When it does not feel right
Section titled “When it does not feel right”| Symptom | Check |
|---|---|
Boat does not move at all and the log says No VesselData assigned or missing Hull | Assign 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 simulate | The static mesh has no simple collision, or the PhysicsBody has no shapes. |
| Slides sideways through every turn | No Hydrodynamics asset, or a low Lateral Drag Coefficient. |
| Steers only when moving fast | The rudder’s Min Effective Speed is high, or no engine or jet sits ahead of the rudder. See Rudder. |
| Large vessel barely turns | Raise Turn Assist Multiplier on Movement. |
| Rolls over too easily | Lower Center Of Mass Offset Z, raise Metacentric Height or lower Vertical Center Of Gravity. |
| Feels glued upright in big waves | Lower Righting Torque Scale and let the buoyancy shapes do the righting. |
| Sails give no drive | True Wind Velocity is zero. |
| Water visible inside the hull | Add a surface mask, as the shipped boats do. |