Skip to content

Pawns

Pawns a player controller can possess.

DRW Vessel Pawn · shipped as BP_Dinghy, BP_Runabout

A boat the player possesses directly, like a vehicle. It carries the same buoyancy, movement, input and camera components as a vessel. It is abstract: use a Blueprint child such as the shipped dinghy and runabout.

Guide: Your first vessel, Building a vessel from your own mesh

DRW Vessel › Possession

PropertyDefaultDescription
Original Pawn
OriginalPawn
APawn*
Pawn to return to when exiting vessel (set by direct possession flow). When a DronePawn (or any pawn) directly possesses this VesselPawn, the original pawn is stored here so the player can return to it. Blueprint read only. Replicated.

DRW Vessel › State

PropertyDefaultDescription
Input
Input
FDRW_VesselInput
Current input state from controlling player. Set by VesselInputComponent (locally or via Server RPC). Read by MovementComponent to drive physics. Blueprint read only. Replicated.

DRW Vessel

PropertyDefaultDescription
Vessel Data
VesselData
UDRW_VesselDataAsset*
Vessel configuration data asset.
Hull Mesh Asset
HullMeshAsset
UStaticMesh*
Hull mesh to use.

DRW Vessel › Network

PropertyDefaultDescription
Enable Multiplayer
bEnableMultiplayer
bool
trueEnable multiplayer support.
Net Update Rate
NetUpdateRate
float
30
1 to 60
Network update frequency in Hz. Editable when Enable Multiplayer.

Components

PropertyDefaultDescription
Hull Mesh
HullMesh
UStaticMeshComponent*
Read only.
Physics Body
PhysicsBody
UDRW_PhysicsBodyComponent*
Read only.
Buoyancy
Buoyancy
UDRW_BuoyancyComponent*
Read only.
Movement
Movement
UDRW_VesselMovementComponent*
Read only.
Replication
Replication
UDRW_SmoothReplicationComponent*
Read only.
Vessel Input
VesselInput
UDRW_VesselInputComponent*
Read only.
Vessel Camera
VesselCamera
UDRW_VesselCameraComponent*
Read only.
FunctionInputsOutputsDescription
Set Vessel Data
SetVesselData
New Vessel Data UDRW_VesselDataAsset*Set the vessel data asset. Configures all components.
Get Vessel Data
GetVesselData
Return UDRW_VesselDataAsset*Get the current vessel data asset Pure.
Get Speed
GetSpeed
Return floatGet current speed in cm/s Pure.
Get Speed Knots
GetSpeedKnots
Return floatGet current speed in knots Pure.
Get Heading
GetHeading
Return floatGet current heading in degrees (0-360) Pure.
Is In Water
IsInWater
Return boolIs the vessel currently in water? Pure.
Is Planing
IsPlaning
Return boolIs the vessel currently planing? Pure.
Has Physics Authority
HasPhysicsAuthority
Return boolDoes this instance have physics authority? (Server or standalone) Pure.
Get Hull Mesh
GetHullMesh
Return UStaticMeshComponent*Pure.
Get Physics Body
GetPhysicsBody
Return UDRW_PhysicsBodyComponent*Pure.
Get Buoyancy
GetBuoyancy
Return UDRW_BuoyancyComponent*Pure.
Get Movement
GetMovement
Return UDRW_VesselMovementComponent*Pure.
Get Vessel Input Component
GetVesselInputComponent
Return UDRW_VesselInputComponent*Pure.
Get Vessel Camera
GetVesselCamera
Return UDRW_VesselCameraComponent*Pure.
Get Replication
GetReplication
Return UDRW_SmoothReplicationComponent*Pure.

DRW Drone Pawn · shipped as BP_Drone

A free-flying camera pawn for testing and demos. It flies with Enhanced Input, can occupy vessel seats (it carries a seat occupant component) and can possess vessel pawns (it carries a vessel possession component).

Guide: Your first vessel

DRW Drone › Movement

PropertyDefaultDescription
Fly Speed
FlySpeed
float
1000Normal flight speed (cm/s)
Sprint Speed
SprintSpeed
float
3000Sprint flight speed (cm/s)

DRW Drone › Camera

PropertyDefaultDescription
Look Sensitivity
LookSensitivity
float
0.5
Camera Transition Speed
CameraTransitionSpeed
float
5How fast to interpolate camera when entering/exiting seat

DRW Drone › Interaction

PropertyDefaultDescription
Seat Interaction Range
SeatInteractionRange
float
500Maximum range to detect vessel seats (cm)
Seat Camera Offset
SeatCameraOffset
FVector
(-300, 0, 200)Offset from seat when controlling vessel

DRW Drone › Input

PropertyDefaultDescription
Input Mapping Priority
InputMappingPriority
int32
0Input mapping context priority

DRW Drone › Ocean

PropertyDefaultDescription
Small Waves Data
SmallWavesData
UDRW_WaveDataAsset*
Medium Waves Data
MediumWavesData
UDRW_WaveDataAsset*
High Waves Data
HighWavesData
UDRW_WaveDataAsset*
Wave Blend Duration
WaveBlendDuration
float
10

Components

PropertyDefaultDescription
Waterline Component
WaterlineComponent
UDRW_WaterlineComponent*
Read only.
Collision Sphere
CollisionSphere
USphereComponent*
Read only.
Spring Arm
SpringArm
USpringArmComponent*
Read only.
Camera
Camera
UCameraComponent*
Read only.
Movement Component
MovementComponent
UFloatingPawnMovement*
Read only.
Seat Occupant
SeatOccupant
UDRW_SeatOccupantComponent*
Seat occupant component - enables occupying vessel seats Read only.
Vessel Possession
VesselPossession
UDRW_VesselPossessionComponent*
Vessel possession component - enables direct VesselPawn possession Read only.
FunctionInputsOutputsDescription
Try Enter Nearest Seat
TryEnterNearestSeat
Return boolTry to enter the nearest vessel seat. Returns True if successfully entered a seat
Exit Current Seat
ExitCurrentSeat
Return boolExit the current vessel seat and return to flying. Returns True if successfully exited
Toggle Vessel Control
ToggleVesselControl
Toggle between flying and controlling vessel.
Get Drone State
GetDroneState
Return EDRW_DroneStateGet current drone state. Pure.
Get Current Seat
GetCurrentSeat
Return ADRW_VesselSeat*Get the seat we’re currently in (if any). Pure.
Get Controlled Vessel
GetControlledVessel
Return ADRW_Vessel*Get the vessel we’re currently controlling (if any). Pure.
Try Possess Nearest Vessel
TryPossessNearestVessel
Return boolTry to directly possess the nearest VesselPawn. Returns True if a vessel was found and possession was requested
Get Camera
GetCamera
Return UCameraComponent*Pure.
Get Spring Arm
GetSpringArm
Return USpringArmComponent*Pure.
Get Seat Occupant
GetSeatOccupant
Return UDRW_SeatOccupantComponent*Pure.
Get Vessel Possession
GetVesselPossession
Return UDRW_VesselPossessionComponent*Pure.