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 destroy static mesh inside blueprint?

I want to destroy "Static Mesh" when my character overlap/hit them. I can do this simply. But in blueprint I can't understand. I know there are some bugs in destruction on blueprints. But as I'm beginner maybe I'm doing something wrong.

Here what I did:

Step 1: Duplicate the SM_Rock. Set collision to 26DOP. Step 2: Made it destructible (DM). Applied Fracture thing. Step 3: Create BP based on DM. Step 4: Tick "Simulation Generate Tick Events".

Whenever I tick "Simulate Physics" rocks doesn't appear at all. When I untick rock appears but they destroy automatically as I can't untick "Start Awake" option without "Simulate Physics" option.

How to solve this problem?

Product Version: Not Selected
Tags:
more ▼

asked May 14 '15 at 10:58 AM in Blueprint Scripting

avatar image

yogesh_gamer
75 22 19 24

avatar image Azarus May 14 '15 at 11:04 AM

Apply some damage to it.

avatar image yogesh_gamer May 14 '15 at 11:11 AM

But how? Rock doesn't appear at all when I tick "Simulate Physics". How can I apply damage?

avatar image Gunnar0 May 14 '15 at 11:29 AM

"Hit event" connected to "destroy actor"

avatar image yogesh_gamer May 14 '15 at 11:32 AM

No no. This is not what I want. I want to explode rock. I know I can use "Destroy Actor" but I want to explode it in pieces.

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

1 answer: sort voted first

Apply damage to the destructible mesh.

http://img.ctrlv.in/img/15/05/14/5554942eb5b0d.png http://img.ctrlv.in/img/15/05/14/5554948f146e5.png http://img.ctrlv.in/img/15/05/14/555494b76825a.png

If you want it to explode (rip apart) then spawn a RadialForce Actor

more ▼

answered May 14 '15 at 12:26 PM

avatar image

Azarus
1.9k 60 50 189

avatar image yogesh_gamer May 15 '15 at 04:43 AM

Thanks adding "Box Collision" works. But what was the problem with rock? Can't I directly fire overlap event with rock?

avatar image yogesh_gamer May 15 '15 at 05:00 AM

Ok got it. Just set the collision "Overlap Only Pawn" and when overlap I destroy the rock without Box Collision. :) Thanks Man. :)

(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