Footsteps
Kind: Modifier · Add Component: Character Modules > Modifiers > Footsteps
Reports each step and landing. Sound and effects follow the stride.
Reports a footstep at the pace of the stride, and landings, so sound and effects can follow the character without knowing how it moves.
Inspector
▼Footsteps
CharacterCharacter (Character Motor)
Stride Length1.6
Minimum Speed0.5
Origin. Footstep sounds by stride were a shooter staple from Quake (1996) and Half-Life (1998) on.
How it works
Changes no state: it only reports or reacts.
Footsteps: emits a Footstep event every strideLength metres walked on the ground, carrying the speed and the collider underfoot (whose Character Surface names the sound set). Audio, decals and camera bob listen to it; without animation, this is what times the steps.
Combine it
- 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 | |
| Stride Length | Distance between footsteps, metres. | 0.1 or more | 1.6 |
| Minimum Speed | Slower than this does not count as walking, m/s. | 0 or more | 0.5 |