Right click on mesh and select “Create Destructible Mesh”
Right click on new DM and select “Create Blueprint Using…”
Opened new blueprint and selected the root component and enabled “Simulation Generates Hit Events”
Compiled and Saved Everything.
Put blueprint into scene.
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?
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.
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?