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"

Destructible mesh problems on touch

Hi i created a destructible mesh from a standard 1meter cube. From that I've created a BP and I've set gravity off (like a mario's brick). I've set a box collision on the bottom of the cube and when the player overlap it will destruct itself and gravity turns back on. All fine but now i have a problem: if run to the cube from a side (without touching the box collider): the gravity turns back and it breaks itself...WHY ? how can i fix that ?

Product Version: UE 4.9
Tags:
more ▼

asked Nov 08 '15 at 01:36 AM in Blueprint Scripting

avatar image

Levenlol
1 3 8 11

avatar image CloudMonster Nov 20 '15 at 02:54 PM

i have the same problem. When i create a destructible mesh it creates a random crappy collision and ignores the one the mesh originally had. If you find anything out plz let me know.

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

1 answer: sort voted first

Its simple you have a problem with collision look what here what to do, first of all the idea that you mesh will break if it got touched from any direction top bottom it doesn't matter you can do the next 1.make an invisible wall from the left right and top that way you leave only the bottom breakable 2.disable the break collision and place a box under the block that will check if there were a hit if there was one break the block be applying damage to the mesh. Both of the solution are pretty easy I guess the first one will be more simple to apply for you.

more ▼

answered Nov 08 '15 at 07:49 AM

avatar image

DDemon
478 21 10 25

avatar image Levenlol Nov 08 '15 at 12:37 PM

i think i was about to accomplish the 2 solution, but how can i disable break collision ? i didnt find any option for that :(.. where should i check ?

avatar image DDemon Nov 08 '15 at 12:51 PM

In the destructible mesh unset Enable Impact Damage.

avatar image Levenlol Nov 08 '15 at 02:29 PM

thanks i solved , i have another question: Is possible (after the block's fracture) to set all the pieces to destroy themselves or to not to collide with player ?

avatar image DDemon Nov 08 '15 at 03:54 PM

But of course first of all just set off the collision of the destructible mesh, and there Debris Timeout will delete the pieces after some time after you break the mesh (don't forget to set Debris Depth to 1 as well).

avatar image Levenlol Nov 08 '15 at 04:57 PM

so is it wrong ? alt text

avatar image DDemon Nov 08 '15 at 05:00 PM

What you need is Set Collision Enabled and then New Type = No Collision

avatar image Levenlol Nov 08 '15 at 05:04 PM

still generate collisions alt text

avatar image DDemon Nov 08 '15 at 05:16 PM

Interesting no clue why its does not work, from the get go make no collision to the destructive mesh add another box that will have same size and position of the mesh and set its collision to block your player, then disable the collision of the box.

(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