
Publisher
cookiepolice
Godot Material Footsteps 3D
Easiest and most reliable way in Godot to implement material footsteps. This addon supports GridMap material footsteps too.
This plugin has been mirrored from the Godot Asset Library.
The plugin author is in no way affiliated with Gadget.
If you are the author of this plugin and would like this mirror removed, please contact support@gadgetgodot.com.
Godot Material Footsteps
A Godot 3D addon for automatically playing footstep sounds based on the material a character walks on. This addon supports mainly a metadata-based solution, but it also supports GridMap.
Check it out on Godot Asset Library!
Table of Contents
Usage
In your player scene:
- Add a
MaterialFootstepPlayer3Dnode pointing under your character.
- Add a
In the Inspector for the
MaterialFootstepPlayer3D:- Set
target_characterto your player. - Fill in
material_footstep_sound_mapwithMaterialFootstepresources mapping material names to sound lists. - Set a
default_material_footstep_sound.
- 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: matching the names in your
material_footstep_sound_map.
- Key:
- Select any floor (e.g.
If you are using the GridMap node. It is the same process. However, since the GridMap does not support any type of metadata, you instead have to match each tile's name to whatever you put in your
material_footstep_sound_map.
Support
Star this repository, contribute and open issues.