I’m working on a simple 1st person puzzle adventure game (somewhat like myst). Now I want to have different footstep sounds being played based on the surface the player is walking on. I have created some sound cues for different materials. Now…I looked at the FPS example project and noticed that the sounds have been assigned to the animations. That’s not the way I want to do it.
I have created physical materials for grass (PM_Grass), Concrete (PM_Concrete) and dirt (PM_Dirt) and the corresponding sound cues (SC_FS_Grass, …).
Can anyone give me some direction and/or a couple of code snippets? That would be awesome.
My project is based on the First Person project template (C++).
I’d be fine with blueprint, but to be honest…I like doing as much stuff in C++ as possible. I don’t want to have too much blueprint stuff around, as organizing and maintaining C++ code is a bit easier for me.
Thank you in advance