Emit niagara particle from code

Hi all

I want to emit my particle from c++…
I have a niagara emitter which is my particle and a niagara particle system…

I was looking on the api for some function like Play, Emit or Spawn but could not find them

The function if Activate(bool Reset). but it’s called for NiagaraComponent; So if you want to activate a stand-alone system placed in the level, you need to get its NiagaraComponent first.

1 Like

ok, so i can attach a UNiagaraSystem which has UNiagaraComponent inside AMyCharacter class isnt?

This particle needs to be part of my player

Hi! You can add a UNiagaraComponent with a UNiagaraSystem to your character and manage the UNiagaraComponent or spawn a UNiagaraSystem attached to your character.

1 Like

Hi Lucoiso, that sounds pretty good, i will give a try and notify later… thanks.

Update:
Works very good thanks!

1 Like