Monday, December 11, 2023
HomeVisual EffectsHow you can randomly spawn Niagara Programs on a floor

How you can randomly spawn Niagara Programs on a floor


Hiya everybody, i’ve been attempting to achieve an impact however I’m kinda caught.

My query is, if there’s a method to randomly spawn a niagara system (on this case it’s only a easy sparks’ burst) over a floor. I used to be attempting to do it inside niagara however I didn’t get something, because the spawn modules are evaluated per particle, and what I wish to do is to spawn a complete Niagara System over a floor and never solely singles particles.

I used to be considering doing it inside a blueprint, utilizing the road hint node and randomnly spawn these traces, so when the hint hits, the Niagara System spawns over the floor, which I’ve it already contained in the blueprint as effectively, however I’m unsure if that is the perfect method.

Thanks upfront :slight_smile:


Hey! Undecided if I totally perceive. Do you imply spawning particles on a mesh floor like right here? UE5 l Sprint Path Particle Impact With Niagara l VFX Tutorial l Unreal Engine 5 – YouTube

I believe they imply a complete system with a number of emitters



1 Like

oh okay, that really is sensible after I learn once more.
Then most likely blueprint is the way in which

Sorry for the misunderstanding. Sure! I meant the whole system. Any concepts on how one can method utilizing blueprints?

hmm I’d most likely method it similiarly to you as I can’t discover higher resolution proper now, however perhaps somebody will know a trick for that.

What you are able to do is: learn the static mesh in niagara after which spawn supply partices (emitter 1) on it randomly.
Then add an occasion in niagara (which firers when spawning supply particle), which triggers one other emitter (emiter 2, your sparks). ‘Location Occasion’ is what you’re on the lookout for on this case.

You too can do it with blueprints and line traces, as you had recommended initially. You would want to evalute the efficiency price of every of these strategies. My intestine feeling teels me line traces in BP may be sligtly dearer. The prices will likely be on the CPU for each these strategies, as solely CPU emitters in niagara can have occasions. Collision traces in blueprint are additionally price on the CPU.



1 Like

Yeah, that kinda labored as supposed. Thanks for the assistance guys :slight_smile:

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments