I’m trying to make a footstep system with fmod. It needs to be able to track the surface type to play different sounds. It works fine with popular LineTrace method, but there is a problem with minus Z coordinate.
When map landscape is under Z coordinate (when Z is negative), the trace have nothing to hit, so there is no sound because of that.
I know another method for this(https://www.youtube.com/watch?v=BUFBU24JJ_A), based on ALS. It’s using foot IK instead of LineTrace, so there is no problem with negative coordinate. But I was able to make it work only with Unreal Sound Cue, not with FMOD.
Is there any way to make it work with FMOD? Or Is there any way to solve the negative Z problem with LineTrace method?