Project settings and console commands
Project-wide settings live under Project Settings > Plugins. Console commands are typed into the in-game console (the backtick key by default).
- DRW_Settings (Dynamic Real Water), DRW_DebugSettings (DRW Debug)
DRW_Settings
Section titled “DRW_Settings”Dynamic Real Water
Project Settings > Plugins > Dynamic Real Water.
Guide: Underwater
Properties
Section titled “Properties”| Property | Default | Description |
|---|---|---|
Auto Add UnderwaterbAutoAddUnderwaterbool | true | Adds the DRW Underwater component to the pawn each local player controls when the level has an ocean, a pool or a lake, so the underwater look works with any character or vehicle. Pawns that already carry the component keep their own. Saved in the project config. |
Underwater Component ClassUnderwaterComponentClassTSoftClassPtr<UDRW_WaterlineComponent> | The component added automatically. Pick a Blueprint child of DRW Underwater to change its settings for the whole project; empty uses the default component. Saved in the project config. Editable when Auto Add Underwater. |
DRW_DebugSettings
Section titled “DRW_DebugSettings”DRW Debug
Project Settings > Plugins > DRW Debug: the debug setup every game starts with. Console commands and Blueprint change it for the running session only.
Guide: Debugging and setup checks
Properties
Section titled “Properties”| Property | Default | Description |
|---|---|---|
DefaultsDefaultsFDRW_DebugOptions | What every game starts with. Console commands and Blueprint change it for the running session only. Saved in the project config. |
Console commands
Section titled “Console commands”Debug drawing commands. They change the running session only; drw.debug.reset returns to the project settings. Drawing is compiled out of builds without debug drawing, such as Shipping.
| Command | Usage | What it does |
|---|---|---|
drw.debug | drw.debug [0|1] | Turns DRW debug drawing on or off. |
drw.debug.cat | drw.debug.cat <category> [0|1] | Turns one category on or off. Categories: buoyancy, gravity, damping, drag, wave, thrust, steering, planing, wind, stability, velocity, shapes, interaction, all, none. |
drw.debug.stats | drw.debug.stats [0|1] | Shows or hides the per-actor readout. |
drw.debug.pershape | drw.debug.pershape [0|1] | Draws each shape’s forces (1) or one total per category (0). |
drw.debug.net | drw.debug.net [0|1] | Shows or hides the net force arrow. |
drw.debug.labels | drw.debug.labels [0|1] | Shows or hides the text next to each arrow. |
drw.debug.scale | drw.debug.scale <value> | Arrow length per newton, in cm. |
drw.debug.thickness | drw.debug.thickness <value> | Arrow thickness. |
drw.debug.threshold | drw.debug.threshold <newtons> | Forces weaker than this are not drawn. |
drw.debug.focus | drw.debug.focus <name> or drw.debug.focus clear | Draws only actors whose name contains the text, in every game world. |
drw.debug.preset | drw.debug.preset <buoyancy|movement|all|minimal|off> | Applies a ready-made debug setup. |
drw.debug.reset | drw.debug.reset | Returns to Project Settings > Plugins > DRW Debug. |
drw.debug.status | drw.debug.status | Prints the current debug settings. |
drw.debug.help | drw.debug.help | Lists the debug commands. |
See Debugging and setup checks for how to use them.