Install Asset
Install via Godot
To maintain one source of truth, Godot Asset Library is just a mirror of the old asset library so you can download directly on Godot via the integrated asset library browser
Quick Information
Performant, easy-to-use and flexible material-based footsteps for Godot. Supports metadata, GridMap, and HTerrain detection.
Godot Material Footsteps
A Godot 3D addon for automatically playing footstep sounds based on the material a character walks on. This addon uses a simple meta data solution.
Table of Contents
Usage
To use this addon, follow these steps:
In your player scene:
- Add a
MaterialFootstepPlayernode pointing downward under your character’s foot or base.
- Add a
In the Inspector for the
MaterialFootstepPlayer:- Set
target_characterto your player’sCharacterBody3D. - Fill in
material_footstep_sound_mapwithMaterialFootstepSoundresources mapping material names to sound lists. - Set a
default_material_footstep_sound. - Optionally adjust
accepted_meta_data_names(defaults to["surface_type"]).
- Set
In your level scene:
- Select any floor (e.g.
StaticBody3Dor any ancestor or descendant of thatStaticBody3D). - In the Inspector, under Metadata, add a new key-value pair:
- Key:
surface_type - Value: e.g.
"Grass","Wood","stone"— matching the names in yourmaterial_footstep_sound_map.
- Key:
- Select any floor (e.g.
Editor Properties
Core Settings
material_footstep_sound_map: List ofMaterialFootstepSoundresources.default_material_footstep_sound: The fallback sound if no match is found.target_character: TheCharacterBody3Dwhose movement is tracked.accepted_meta_data_names: Metadata keys to check (default:["surface_type"]).
Auto Play Settings
auto_play: If true, footsteps play automatically. Disable this property if you want to play the footstep sound during animations. Once you have disabled this property, just connect to theplaymethod in theMaterialFootstepPlayernode.auto_play_delay: Time (in seconds) between each footstep, only works whenauto_playproperty is on.
Debug Settings
debug: If true, debug logs print to console.
Support
Star this repository... I guess.
Performant, easy-to-use and flexible material-based footsteps for Godot. Supports metadata, GridMap, and HTerrain detection.
Reviews
Quick Information
Performant, easy-to-use and flexible material-based footsteps for Godot. Supports metadata, GridMap, and HTerrain detection.