I’m trying to set up a material check system for the footsteps. Triggered by an “AnimNotify” on the animation timeline, I perform a LineTrace whenever a footstep takes place to check the surface type. Based on the result a “Play Event Attached” function is triggered to play the sound. The system is working so far, but I have to use one event for each surface within FMOD.
I’d like to switch between the different sounds using a parameter change. Unfortunately I can’t get this to work, as I can’t add a FMOD audio component to the animation blueprint and have therefore no event to reference as my target for the “Set Parameter” function.
Any ideas how I can work with parameters within the animation blueprint?