x

Search in
Sort by:

Question Status:

Search help

  • Simple searches use one or more words. Separate the words with spaces (cat dog) to search cat,dog or both. Separate the words with plus signs (cat +dog) to search for items that may contain cat but must contain dog.
  • You can further refine your search on the search results page, where you can search by keywords, author, topic. These can be combined with each other. Examples
    • cat dog --matches anything with cat,dog or both
    • cat +dog --searches for cat +dog where dog is a mandatory term
    • cat -dog -- searches for cat excluding any result containing dog
    • [cats] —will restrict your search to results with topic named "cats"
    • [cats] [dogs] —will restrict your search to results with both topics, "cats", and "dogs"

Office Holiday

Epic Games' offices will be on holiday from June 22nd to July 7th. During this period support will be limited. Our offices will reopen on Monday, July 8th. 

How to - particle not to respawn

So, my need is a niagara's particles with no respawning, I want to reuse the particles over and over without them changing. Is there an easy or c++ way. Thanks for any help.

Product Version: UE 4.21
Tags:
more ▼

asked Dec 07 '18 at 07:06 PM in Rendering

avatar image

corejake
1 3 2 5

avatar image Tuerer Dec 10 '18 at 03:26 PM

It's not quite clear what you mean by "reusing particles", but I don't think they "respawn" per se, some get destroyes and new ones get spawned.

What you see in the Niagara editor (particles disappearing when the timeline jumps back to 0) is not happening when you place the Niagara System into the level, if that's what you mean. The particles pertain.

So, if you want the particles not to get destroyed, you should set their lifetime to 0 (that's how they won't die of old age), and set a proper collision for the particles not to leave the level through walls or whatnot (I personally couldn't make it work with Niagara. Collision there is still quite raw, as for me. E.g. I spawned a continuous wave of particles that were hitting a wall, and if I looked directly at the point of impact, about 90% of the particles were hit and destroyed, but when I looked at the same wall from the other side, not seeing the impact point directly, about 90% of the particles went through. Some kind of particles superposition that depends on the observer's point of view).

Or am I getting it wrong? If you could elaborate on the "reusing" part it could get clearer what exactly you want to do.

avatar image corejake Dec 16 '18 at 12:36 PM

I found that I can set the lifetime to 8M and I will be fine

avatar image corejake Dec 11 '18 at 08:58 PM

Set to 0. Usually, it's -1. alt text So my goal is to make an Euler liquid pressure simulation using color and particle sprites with hight. Some dynamic inputs and particle behavior is not an issue, but if I set the particles.lifetime to 0 they disappier. And I just need to keep them until player leaves the level. P.S. Oh, I understand how you react to niagara's collision, it's too raw, but at least something!

untitled.png (4.7 MB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

It's not supported at least I haven't found any feature that can make them immortal. Just make the lifetime number bigger. But the timer will continue ticking (pretty sad about it). Hopefully they will add this feature later

more ▼

answered Dec 16 '18 at 12:38 PM

avatar image

corejake
1 3 2 5

(comments are locked)
10|2000 characters needed characters left
Viewable by all users
Your answer
toggle preview:

Up to 5 attachments (including images) can be used with a maximum of 5.2 MB each and 5.2 MB total.

Follow this question

Once you sign in you will be able to subscribe for any updates here

Answers to this question