Sound Travel Time (Speed of sound)
I'm trying to add a "speed of sound" function to my sound cues. Basicly at distances there should be a delay for sounds to reach the player.
Is there any node i can use or do i have to create my own function or something?
Thanks in advance for any help you are able to provide!
asked May 23 '16 at 07:04 PM in Blueprint Scripting
I made a server function that called a multicast function. The multicast function has a timer in it to act as delay. The delay is calculated by dividing the distance by the speed of sound (340). The distance is calculated by getting the distance between the local player (the player that the multicast function is being called on) and the location of the sound.
And when the timer is done i play a sound at location.
Follow this question
Once you sign in you will be able to subscribe for any updates here