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"

Control Direction of Destructible Mesh pieces in BP

So I have a collectible that is made out of glass. When the player touches the capsule collision, I want the glass collectible to shatter in the direction that the player hit the collectible in. Of course, I don't want the collectible or its fragments to stop the player in any way while moving, so the destructible mesh's collision is disabled.

My question is this: How do I influence which direction the destructible chunks will fly entirely in BP (Since all I have is an overlap event from the collectible's hitbox, the location of the player that touched it, and the location of the collectible itself)? Here's my current BP Setup:

alt text

Am I doing something wrong here? I've made the impulse strength really huge, but I'm noticing hardly any difference in the direction of the chunks. What is the impulse actually doing?

Product Version: UE 4.17
Tags:
capture.png (200.5 kB)
more ▼

asked Apr 15 '18 at 05:42 PM in Rendering

avatar image

Spishy
76 4 6 14

(comments are locked)
10|2000 characters needed characters left

1 answer: sort voted first

Okay funny story, this was actually working properly, I just had another node (I think it was called apply radial force or something) that was being called right after the Apply Damage node. I didn't know what this did, so I deleted the node to clean up my BP for the screenshot up above. Deleting that node seems to have fixed the problem, because the glass fragments move in the direction the BP tells them to now!

more ▼

answered Apr 15 '18 at 05:50 PM

avatar image

Spishy
76 4 6 14

(comments are locked)
10|2000 characters needed characters left
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