For some reason I just can’t seem to get this system to work. I’ve been following the footstep triggering system suggested in this video here: https://youtu.be/hKK2GYrJsjw
Essentially does a line trace, finds the physical material and then uses a map to set and fire a sound cue.
As you can see in the example video below, it works fine on the concrete ground (and I’ve verified it’s working by switching the sound from concrete to metal and back - so I know the system works here by using a line trace and referencing the map to play the associated sound). But for some reason when I go up the stairs it doesn’t work. I can’t figure out why - I have the stairs also set to its own physical material override so it should be hitting a physical material and playing the associated sound - but nothing.
I’ve isolated where the problem must be by using print string. It appears that, when the player is on the ground, the line trace is finding the map and firing the right sound, and it branches true. But when I attempt to go up the stairs, it becomes false.
I really can’t figure out why, so any help would be appreciated! I know I have the system set up correctly, so I’m either missing something blindingly obvious or something more finnicky I’ve yet to figure out.
Thanks in advance for any help you guys can offer!