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 make destructible mesh chunks disappear?

I want that when I destroy a destructible mesh the chunks that came of disappear after X amount of seconds, is there some way to do this?

After about 1k chunks and a bunch of particles everything starts to lag, so this isn't good for the end user.

Product Version: UE 4.8
Tags:
more ▼

asked Aug 30 '15 at 03:23 PM in Everything Else

avatar image

MrGoatsy
604 34 26 45

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

2 answers: sort voted first

Hi MrGoatsy,

You can do this by enabling Debris in the flags for your DM. Then set the Debris Depth. To control how long it takes for chunks to disappear set the Debris Min and Max lifetime values. This will use an average of the two values to make the chunks disappear. So if you don't have a support depth set the chunks will all disappear at the same time, which is intended.

You can also try using Crumble Smallest Chunks. This will make it so that if a chunk receives a large enough damage it will just destroy the chunk. You can assign a Particle System and then when these chunks are destroyed they will spawn the particle.

Also, have a look at our Destructible Troubleshooting and Tips wiki. This has a lot of common questions on here. These two are not on there, but there is plenty of other helpful information. :)

Thank you!

Tim

more ▼

answered Aug 31 '15 at 03:17 PM

avatar image

Tim Hobson ♦♦ STAFF
48.8k 888 103 879

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

I found an interesting way to achieve an interesting visual (for my project anyway it may not be applicable for yours) vs. having them just disappear. I had a small delay (2.5 seconds or so) after the chunks hit the ground then changed the collision to ignore world static and the pieces would then drop through the floor/be absorbed and then with another delay (.5 seconds or so after that) I Destroyed the actor.

Using a similar flow, instead of changing the collision settings via blueprint you could also activate a particle system to distract the viewer (cloud of dust/smoke) and while they are hidden from the particles destroy the chunks.

more ▼

answered Apr 11 '19 at 06:45 PM

avatar image

threepm
1 1

(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