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"

How can I destroy spawned particles ?

How can I destroy spawned particles like the first glass in this video https://www.youtube.com/watch?v=f51dzGXyYIg

I have a projectile blueprint that spawned three particles by three hit and I want after third hit destroy all three particles

How can I do that ?

Product Version: UE 4.9
Tags:
more ▼

asked Dec 28 '15 at 05:53 AM in Blueprint Scripting

avatar image

2MAH
0 2 4 4

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

2 answers: sort voted first

When you Spawn an Emitter you get a reference to its ParticleSystemComponent.

All you need to do to remove the Emitter once your finished with it, is to call DestroyComponent on the reference.

The same as if you were trying to destroy an Actor.

more ▼

answered Dec 28 '15 at 09:11 AM

avatar image

DevilsD
897 57 17 52

avatar image 2MAH Dec 28 '15 at 10:38 AM

But I want do that before finishing spawned emitter

avatar image DevilsD Dec 31 '15 at 12:09 AM

Im not sure what you mean?

avatar image DevilsD Jan 10 '16 at 04:37 AM

Did you manage to find a solution to your question?

(comments are locked)
10|2000 characters needed characters left
Viewable by all users

After Spawning Particles add each of them to array of references, then register and count their hits, if count == 3 then for each per array, drag elements and destroy components

more ▼

answered Jan 05 '18 at 08:57 AM

avatar image

DanielDurys
55 1 2 7

(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