Hi everyone,
I have trouble using Scatter instrument for a large group of enemies.
My enemies can be described as drones, their movement is physic based and there are quite a lot of them. Due to their physic behavior, they tend to group themselves quite naturally and I don’t have any actor being “the center” of the swarm, as every drone as its own movement behavior.
I am trying to design a spatialized sound that triggers when they are close to the player. After some research I found that Scatter Instrument seems to be the solution, however I have some problems in the implementation.
So now I have created an event with a scattered Instrument in it :
In my drone code (I’m currently using blueprints), I am checking the distance to the player and playing this event if the distance is lower than a threshold, the event is stopped if the condition is not met.
This method seems to work fine but I got issues with audio kind of jumping from time to time as if the CPU was overloaded or something and I don’t get why. (This problem with audio has never happened before)
Am I doing something wrong ?
Cheers,
Lou