Footstepper not playing sounds for extended times
edited November 10
Edit: This was solved, but please see second post.
Post edited by CTE on
Okay, I figured it out.
I added a child object to my controller and put the footstepper component on that and it solved it. Must be something with the controller and it isn't always registering being on the ground.
A quick question, if I may. If I wanted to add crouch steps, is it easy to override the footstepper script, or is there a better way?
When a footstep/sound isn't played, my first guess would be that the raycast didn't hit the ground (or at least anything with a footstep source). In those cases you should make sure to use a raycast setup with some leeway and you have a good layer setup, e.g. not including the game object's layer the footstepper is on.
As for crouching footsteps, you can either use
, see the documentation on
. Depending on your setup, one or the other might be better, e.g. playing footsteps via animation events would make custom effects the better choice, while using auto play (e.g. in a first person setup) would use tag effects (i.e. while crouching, you'd change the
Please consider rating/reviewing my products on the Asset Store (hopefully positively), as that helps tremendously with getting found.
If you're enjoying my products, updates and support, please consider supporting me on
It looks like you're new here. If you want to get involved, click one of these buttons!
Makinom Tips, Tricks & Tutorials
ORK Tips, Tricks & Tutorials
Grid Battles & Movement Control Maps
Spells with multiple targets (individuals)
Change requirement interval check for Menu's.
Unique status value for Spawned combatant (monster manual)
How to display the status effect icon during battle
Who's Online (4)
© 2015 Gaming is Love e.U.