Download

Adding sound to Niagara particles

Greetings fellow UE4 devs!

I am trying to play a sound at the location of each particle (Niagara System).

The only C++ function that I found is:

/** Debug accessors for getting positions in blueprints. */
UFUNCTION(BlueprintCallable, Category = Niagara, meta = (DisplayName = “Get Niagara Emitter Positions”))
TArray<FVector> GetNiagaraParticlePositions_DebugOnly(const FString& InEmitterName);

Since it is stated that this function is for Debeg Only, is there any other way to know this?

Thanks in advance,
Gustavo

I think of Niagara as a one-way street. You’re not going to (easily) get information back about your simulation, especially in GPU sim mode.
That doesn’t prevent you from performing CPU-side simulations and throwing it over the fence for Niagara to render.