I’m adding the ability for my character to play different footstep sounds depending on the surface I’m on but I’ve run into a bug. I’ve added a notify to the jog forward animation for when my character’s foot hits the ground and it works fine when that animation is playing, however it will still fire from time to time when the animation is no longer playing.
Basically, when I’m jogging forward things work fine, but if I start strafing or sprinting the notify in the JOG FORWARD animation will continue to fire at random intervals and I have no idea why (my only guess would be because of the animation being part of a blend space, but I really don’t know).
I tried with separate notifies for left and right foot but that did not help.
Here is what the notify calls (haven’t finished setting the code up because of the bug).
Here is my Locomotion state, everything in it works fine, but I thought it might be helpful to post it along with everything else.
Does anyone have any clue as to what the problem might be?