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"

Convert the destructable chunks to PhysActor

I'm working on a game where you can throw and break things. I want to make is to you can also pick up the broken chunks and throw them as well. This requires that the chunks are a PhysActor.

Is there a way to convert/cast the chunks from a broken destructible as a PhysActor?

Product Version: UE 4.14
more ▼

asked Jan 14 '17 at 07:07 PM in C++ Programming

avatar image

161 27 21 31

avatar image ErrinMiller Jan 17 '17 at 06:16 PM

Destructible meshes components are technically sockets and bones, so I don't think it is possible to change them to a PhysActor.

You could try moving the DM sockets/bone in script, or import the DM into a modeling program, export each piece, and replace the components with the matching single piece when interacted with.

avatar image pandarian_leo Jul 28 '18 at 07:52 AM

How can I do this? There seems to be no ways to move bones in script. And how can I import DM into a modelling program?

avatar image Katianie Jul 28 '18 at 06:41 PM

You might not be able to do it easily or atall. The guys at Epic told me they are pretty much done with Destructible Meshes so they probably wont be adding any more features there. What you would probably need to do is when the item needs to be fractured/destructed then break it apart into already known chunks (so basically despawn the intact vase and spawn 4 vase chunks). This could work but you wont get the randomness of Destructible Meshes. Personally I gave up on being able to pick up chunks since its not a huge part of the game and lead to issues like picking up one chunk picks up the whole broken item.

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

0 answers: sort voted first
Be the first one to answer this question
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