Check out our latest project ✨ OpenChapter.io: free ebooks the way its meant to be 📖

Godot Material Footsteps

An asset by COOKIE POLICE
The page banner background of a mountain and forest
Godot Material Footsteps hero image

Quick Information

0 ratings
Godot Material Footsteps icon image
COOKIE POLICE
Godot Material Footsteps

Easiest and most reliable way in Godot to implement material footsteps.

Supported Engine Version
4.0
Version String
1.0.0
License Version
MIT
Support Level
community
Modified Date
16 hours ago
Git URL
Issue URL

Godot Material Footsteps

Godot Material Footsteps Icon

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:

  1. In your player scene:

    • Add a MaterialFootstepPlayer node pointing downward under your character’s foot or base.
  2. In the Inspector for the MaterialFootstepPlayer:

    • Set target_character to your player’s CharacterBody3D.
    • Fill in material_footstep_sound_map with MaterialFootstepSound resources mapping material names to sound lists.
    • Set a default_material_footstep_sound.
    • Optionally adjust accepted_meta_data_names (defaults to ["surface_type"]).
  3. In your level scene:

    • Select any floor (e.g. StaticBody3D or any ancestor or descendant of that StaticBody3D).
    • In the Inspector, under Metadata, add a new key-value pair:
      • Key: surface_type
      • Value: e.g. "Grass", "Wood", "stone" — matching the names in your material_footstep_sound_map.

Editor Properties

Core Settings

  • material_footstep_sound_map: List of MaterialFootstepSound resources.
  • default_material_footstep_sound: The fallback sound if no match is found.
  • target_character: The CharacterBody3D whose 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 the play method in the MaterialFootstepPlayer node.
  • auto_play_delay: Time (in seconds) between each footstep, only works when auto_play property is on.

Debug Settings

  • debug: If true, debug logs print to console.

Support

Star this repository... I guess.


Easiest and most reliable way in Godot to implement material footsteps.

Reviews

0 ratings

Your Rating

Headline must be at least 3 characters but not more than 50
Review must be at least 5 characters but not more than 500
Please sign in to add a review

Quick Information

0 ratings
Godot Material Footsteps icon image
COOKIE POLICE
Godot Material Footsteps

Easiest and most reliable way in Godot to implement material footsteps.

Supported Engine Version
4.0
Version String
1.0.0
License Version
MIT
Support Level
community
Modified Date
16 hours ago
Git URL
Issue URL

Open Source

Released under the AGPLv3 license

Plug and Play

Browse assets directly from Godot

Community Driven

Created by developers for developers