How to fix the footstep sounds playing at insane speeds?
I am working on something in UE4 4.18 for VR, so the character is a first person capsule which moves around via the 'Motion Controller Thumb-stick Y' axis location. I think I have everything set up right... what I believe is happening is the blueprint is set up to update the 'play sound' node every time the 'get location' has a new input from the character. But since it is on what is basically a track-pad, it is constantly getting a new number and the result is the insane sound speed.
The problem is I have zero clue how fix it node wise. What I think might fix it is if I can figure out a way to give it a cool-down between sounds. IE: On location trigger or sound trigger start a timer that will stop any new info for 2 seconds. Or set something that only checks for the player location/movement every 1 or 2 seconds.
However, I am far to new to this language and to the visual nodes to have any idea how to set this up. Can anyone help?
asked Dec 18 '17 at 08:45 AM in Blueprint Scripting
You can add a delay after Event Tick so that will check every X second, not every frame. You also have Set Timer by Event : https://docs.unrealengine.com/latest/INT/BlueprintAPI/Utilities/Time/SetTimerbyEvent/
answered Dec 18 '17 at 09:35 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here