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"

Connecting multiple physics enabled skeletal meshes


I'm trying to build a spaceship with deformable meshes. To do this I made a mockup for a section of hull consisting out of 3 pieces (outer hull and the interior section, see screenshot). Each section has 9 bones in it and it all is connected to a root bone in the back. The spots on the last image are decals I'm spawning on the hit location. alt text alt text alt text

What I would like to do now is find some way to connect multiple of such pieces together, to form a bigger structure (like a spaceship). My aim is to somewhat accurately show an impact with another object, deform the mesh and when passing a certain damage tress hold I want to be able to disconnect the damage piece and have it scatter/float off.

so far I'm mostly having 2 issues.

1. I can't find a way to connect multiple pieces together. I want to have a spaceship blueprint that consisists of multiple of such pieces. It needs to be able to move around and collide with other ships and objects.

So far I've tried using a skeletal mesh as a backbone to my ship. I then spawned the ship sections on the correct bone locations and attach them. As soon as I simulate physics on a section however, it automatically detach themselves so that doesn't work.

Next I tried out Physics constraints, but this doesn't seem to work either. When I constraint multiple simulated static meshes together and have the "parent" move around it all works fine as I would expect. When I use one of my skeletal meshes however it stops working. The exception being that it works fine if i don't simulate physics, or when I have collision detection disabled or set to query only. I however need the hit event, which only works when simulating physics collisions.

2. I apply impact damage to my hull section. when it reaches 0 health I want the different pieces (top and bottom hull and the mid section) to disconnect from eachother and go their own separate ways. Is there some way to break apart a bone chain? So far all I've found is something about removing the constraints from the physics asset, but this doesn't seem to give me the result I'm looking for.

Alternatively I've tried to import the section as it's individual pieces (so tophull, mid section and bottom hull) and add them together in a blueprint. This still gives me the same problem as I dexcribed at (1.) however in that I need to keep them together in some way until I want to disconnect them manually myself.

Here's a screenshot of the mesh and its components in 3dsmax. alt text

Product Version: UE 4.16
deform01.jpg (296.5 kB)
deform02.jpg (329.9 kB)
deform03.jpg (268.2 kB)
deform04.jpg (292.7 kB)
more ▼

asked Oct 18 '17 at 03:07 PM in Blueprint Scripting

avatar image

81 3 6 21

(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