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. 

Why does my Destructible Mesh Blueprint Explode on Play?

Steps I took:

  1. Right click on mesh and select "Create Destructible Mesh"

  2. Right click on new DM and select "Create Blueprint Using..."

  3. Opened new blueprint and selected the root component and enabled "Simulation Generates Hit Events"

  4. Compiled and Saved Everything.

  5. Put blueprint into scene.

  6. Hit "Play."

When I put the blueprint into the scene and hit play it instantaneously explodes. How do I get it to generate hit events, but apply no damage so the mesh stays together?

-Apoc

Product Version: Not Selected
Tags:
more ▼

asked Apr 06 '14 at 07:27 PM in Blueprint Scripting

avatar image

Apoc
403 10 12 55

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

2 answers: sort voted first

Destructibles have a bunch of extra physics settings which you should definitely play around with. In this case, you want to be setting 'Enable Hard Sleeping' to checked, or turning 'Start awake' off.

Head over to the collision section, and make sure 'Simulation Generates Hit Events' to generate hit events, as well as making sure the collision type allows hit events with the things you want to use.

You also may want to consider allowing it to affect navigation if appropriate.

If you want hit events to be generated without damage, just attach a zero damage value to the hit event and make sure the damage needed to create fracture is higher than zero.

more ▼

answered Apr 06 '14 at 07:41 PM

avatar image

Mugluck
116 6 7 11

avatar image Apoc Apr 06 '14 at 08:06 PM

Thanks for the reply.

I have turned on "Enable Hard Sleeping", and I have "Start Awake" off. The collision type is set to Destructible. "Can Ever Affect Navigation" is off as well. The damage threshold on the DM is set to 1.0.

It still explodes on Play.

I don't have any nodes in the Event Graph of the blueprint currently, how would I make it take zero damage?

avatar image Apoc Apr 06 '14 at 11:19 PM

I turned off "Enable Hard Sleeping" and it stays in one piece! Thanks.

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

I have the same problem but I can't turn off "start awake" cause I want to use physics. So when I hit play my BP explode. Have any idea ?

more ▼

answered Apr 24 '14 at 01:04 PM

avatar image

Mayhem50
23 3 6 11

avatar image Apoc Apr 24 '14 at 02:59 PM

It has to do with "Simulation generates hit events" on the destructible component. It has been marked as a bug and they are going to fix it.

https://answers.unrealengine.com/questions/26053/destructible-mesh-collides-with-itself-when-inside.html

avatar image Mayhem50 Apr 24 '14 at 03:03 PM

Ok, thanks a lot.

(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