Detecting footstep sounds on auto blended landscape layers

What we did is:

  • Assigned physical materials to the layers in the blended landscape.
  • Hooked up the animation notifies to do a line trace and look for those materials.
  • These first two steps are essentially what you’ll find being done here: UE4 Tutorial: Footstep Sounds on Different Materials (Request) - YouTube (ignore the material creation since you’ve surely already made your blended landscape)
  • The extra tricky bit required changing the landscape’s collision settings to custom, and set to ‘query only,’ making sure that the channel in the line traces is set to “blocking” here but I’m pretty sure everything is already set to blocking.
  • And the most tricky of all is having had to toggle the “generate overlap events” checkbox on and then back off again because unreal is a fickle mistress.

Hope this helps!