Answered
0
0

Hey folks,

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?

  • You must to post comments
Best Answer
1
0

https://youtu.be/nzvvz0VBLZA

You can adapt this solution so that it works with the FMOD Events and FMOD Set Parameter!
I am using this line trace blueprint always and it works fine. You just need the blueprint and the physical materials.

  • You must to post comments
0
0

The blueprint we ship with our integration ‘AnimNotify_FMODPlayEvent’ won’t work with parameters because it uses an FMODEvent object rather than an FMODAudioComponent.

You are free to edit the blueprint, or copy it to make your own custom AnimNotify to suit your needs.

To open it you will need to change the ‘View Options’ in the Content Browser window to show plugin content. Then navigate to the ‘FMODStudio Content’ folder and you will see the AnimNotify_FMODPlayEvent blueprint. From there you can replace the FMODEvent with an FMODAudioComponent and use the SetParameter node.

  • You must to post comments
Showing 2 results
Your Answer

Please first to submit.