Skip to content

Your first vessel

DRW ships two drivable boats: a wooden rowing dinghy and an outboard runabout. Both are Blueprints of DRW Vessel Pawn, a pawn you possess like a vehicle. The shipped drone pawn can fly up to either boat and take the helm with one key. This page gets you driving, then explains what every key does and how each boat responds.

All paths are under Plugins/DynamicRealWater/Content/.

AssetFolderWhat it is
BP_RunaboutBlueprints/Pawn/Vessels/Runabout/Outboard runabout (mesh SM_DRW_RunaBoat). Vessel data DA_Runabout_VesselData: one engine named “300HP Outboard” (224 kW) that swings to steer, one rudder named “Outboard Leg”, planing enabled.
BP_DinghyBlueprints/Pawn/Vessels/Dinghy/Wooden rowing dinghy (mesh SM_DRW_WoodDinghyBoat). Vessel data DA_Dinghy_VesselData: one oar propulsion source named “Rowing Oars” whose thrust swings to steer. No rudder, no planing.
BP_DroneBlueprints/Pawn/Free-flying camera pawn (DRW Drone Pawn). It can possess a boat or sit in a vessel seat.
BP_DRWGameModeBlueprints/Pawn/Game mode with Default Pawn Class set to BP_Drone.

The example level Maps/ExampleMap already uses BP_DRWGameMode and has BP_Runabout placed in it, so you can press Play there first to see a working setup.

  1. Add an ocean: drag BP_DynamicRealWater from Blueprints/ into the level. A boat needs water under it; without water it simply falls.

  2. Open World Settings and set GameMode Override to BP_DRWGameMode. You now spawn as the drone. If you already have your own game mode, set its Default Pawn Class to BP_Drone instead.

  3. Drag BP_Runabout (or BP_Dinghy) into the level and place it on the water surface. The hull simulates physics from the start of play and settles at its own waterline, so it does not have to sit at an exact height.

  4. Press Play. Fly to the boat with the drone controls below.

  5. Get within 500 cm of the hull and press F. The distance is measured to the closest point on the hull’s collision, so you can be beside the boat, not only at its center. Your view switches to the boat’s camera and the keys now drive the boat.

  6. Press F again to leave. You return to the drone at the spot where you left it. The boat keeps floating with zero input.

KeyAction
W / SFly forward / back, in the direction you look
A / DStrafe left / right
MouseLook
E / QUp / down
Left Shift (hold)Sprint: top speed goes from Fly Speed (1000 cm/s) to Sprint Speed (3000 cm/s)
FPossess the nearest DRW Vessel Pawn in range. If there is none, enter the nearest free DRW Vessel Seat in range. Press again to leave.
1 / 2 / 3Blend the ocean to the Wave Data Asset in the drone’s Small Waves Data, Medium Waves Data or High Waves Data slot over Wave Blend Duration (10 s). BP_Drone puts DA_DefaultWaves in all three, so assign your own wave assets to get three different sea states.

The range for F is Seat Interaction Range on the drone (500 cm by default).

You do not need any Input Mapping Context asset for the boats. Each Vessel Pawn has a DRW Vessel Input component that adds its own key mappings when you possess the boat. Both shipped boats leave its Input Source at Auto: Keyboard + Mouse, which gives this layout:

KeyInputUsed by the shipped boats
W / SThrottle forward / reverseRunabout engine, Dinghy oars
A / DSteering left / rightBoth
SpaceRowing powerDinghy
MouseCamera lookBoth
Mouse wheelCamera zoomBoth
FLeave the boat (see below)Both
Q / ELeft / right trim tabNo trim tabs on either boat
1 / 2 / 3 / 4Main sheet / jib sheet / spinnaker / centerboardNo sails or centerboard
Z / XBow thruster to port / starboardNo thrusters
Left Shift / Right ShiftLeft / right paddleNo paddles
R / FFoil angle down / upNo hydrofoils

The keys in the last five rows are there so that boats you build with those parts work without extra setup. Engines, sails, rudders and foils explains what each input does.

The F key to leave exists only when you came aboard through a DRW Vessel Possession component, which is what the drone uses. While it is active, F leaves the boat and does not change the foil angle.

Set Input Source on the boat’s VesselInput component to Auto: Gamepad or Auto: Keyboard + Gamepad to get:

ButtonInput
Right trigger / left triggerThrottle forward / reverse
Left stick XSteering (dead zone 0.2)
Right stickCamera look
D-pad up / downCamera zoom
D-pad left / rightBow thruster
Left / right shoulderLeft / right trim tab
Bottom face button (A, Cross)Rowing power
Left / right face button (X, B or Square, Circle)Foil angle down / up

The gamepad layout has no buttons for sails, the centerboard, paddles or leaving the boat.

Runabout

  • W opens the throttle. Engine RPM climbs from the 800 idle RPM toward 6000 RPM; it does not jump there instantly. S gives reverse at 45% of forward thrust.
  • A / D swing the outboard up to 30° and turn the Outboard Leg rudder up to 30°, at 60° per second. The leg sits right behind the propeller, so it keeps steering at low speed while the engine pushes.
  • The hull enters the Transition state at about 440 cm/s (8.6 knots) and is fully planing from 825 cm/s (16 knots). Hull types and movement states explains these stages.
  • Release W and the engine drops back to idle. An engine at idle still pushes a little (idle creep), so a runabout nobody drives can drift forward slowly.

Dinghy

  • W rows forward and S rows backward at half thrust. Space also rows forward; when both are pressed, the stronger input counts.
  • A / D swing the rowing thrust up to 30° to either side. The dinghy has no rudder, so it only turns while you row.
  • The dinghy has no planing settings, so it always stays in displacement mode.

Each Vessel Pawn has a DRW Vessel Camera component: a third-person camera that follows the boat and keeps the horizon level.

  • Move the mouse to look around the boat. Vertical look is limited to 45° down and 30° up from the base angle of 15° looking down.
  • On the Dinghy the camera swings back behind the boat when you stop moving the mouse sideways. The Runabout’s camera has Recenter Speed set to 0, so it keeps the angle you chose and turns with the boat.
  • The mouse wheel changes the camera distance between 200 cm and 2000 cm. The Dinghy starts at 400 cm, the Runabout at 800 cm.
  • At speed the field of view widens from 90° toward 105° (reached at 30 m/s) and the camera pulls back by up to 200 cm.
  • If something blocks the view, the camera moves in. The boat itself and actors attached to it are ignored.

Building a vessel from your own mesh lists every camera setting.

The drone is one way in. For your own character or pawn:

  • Add a DRW Vessel Possession component to it. Call Find Nearest Vessel Pawn (range in cm) or Find Nearest Vessel Pawn Default (uses Search Range, 500 cm), then Request Possess Vessel with the result. The F key then leaves the boat and the controller returns to your pawn; On Returned From Vessel fires when it does. Both searches skip boats another player already drives.
  • You can also possess a Vessel Pawn with the engine’s Possess node, or make it the game mode’s Default Pawn Class. The boat drives normally, but there is no exit key, because the boat has no pawn to return you to.

For characters that should stay visible on deck, use seats instead. Possession vs seats compares both.

Blueprints/Pawn/ also contains Input Mapping Contexts and Input Actions. The boats and the drone do not use them; they create their own mappings at runtime.

AssetMappingsUsed by
IMC_DRWInputMouse to IA_Look, W / A / S / D to IA_Move, Q / E to IA_MoveUpDownBP_DRWFlyingPawn, a Character-based flying pawn
IMC_DRWVesselInputMouse to IA_Look, Q / E to IA_MoveUpDown, W / S to IA_VesselThrottleNo shipped Blueprint

To drive a boat from your own Input Actions, see Input.

  • When the hull leaves the water (by default 1% or less of its physics shapes’ volume submerged, set by In Water Threshold on the Buoyancy component), for example off a wave crest, the engine, oars and rudder stop pushing until it is back in the water. Only air drag still acts.
  • The project must use the Enhanced Input component (Default Input Component Class in Project Settings > Input), the default in Unreal Engine 5. With another input component the boat logs InputComponent is not EnhancedInputComponent! and ignores the keys.
  • Possession and driving work in multiplayer: the server simulates the boat and the driver’s client sends its input. See Multiplayer model.