Wading
Kind: Modifier · Add Component: Character Modules > Modifiers > Wading
Slows the character in shallow water. Shallows feel different from dry ground.
Slows the character in water up to the knees, without swimming. Shallows look and feel different from dry ground.
Inspector
▼Wading
CharacterCharacter (Character Motor)
Slowest0.5
Deepest0.6
Origin. Half-Life (1998) slows the player by how deep the water is.
How it works
Changes the Walking mode: shallow water slows walking.
Wading: water slows walking, more the deeper it is: full speed on dry land, slowest times full speed when the water reaches the Swim state's depth. Needs a sensor that reports water (the Trigger Sensor).
Combine it
- Needs: Volume Sensor. The Inspector warns while one is missing.
- Used by the presets: Arena Shooter, Competitive Shooter, Surf, Retro Platformer, Modern Platformer, Traversal Adventure, Action RPG.
Properties
| Property | Description | Range | Default |
|---|---|---|---|
| Character | The character this module belongs to. Drag its Character Motor here. | None | |
| Slowest | Speed scale in water up to the chest. | 0.1 to 1 | 0.5 |
| Deepest | Depth (fraction of the character's height) at which the slowest speed is reached. | 0.1 to 1 | 0.6 |