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"

Mesh detaching from character capsule during ragdoll


We are currently trying to ragdoll enemies in response to player AoE attacks (explosions etc) and then have them recover using the physics to animation blend weight. However, we have run into a problem where when we ragdoll the character the mesh is becoming separated from the character's capsule component, which is preventing us from blending back into animation control.

Does anyone know a way we can keep the mesh firmly attached to the capsule at all times?



alt text alt text

Product Version: Not Selected
more ▼

asked Aug 01 '14 at 08:13 PM in Blueprint Scripting

avatar image

16 5 9 9

avatar image JPreston Aug 01 '14 at 08:14 PM

Can only upload 2 attachments, so here is the rest of the blueprint.

alt text alt text

ragdollcode.jpg (139.8 kB)
ragdollcodecont.jpg (122.7 kB)
(comments are locked)
10|2000 characters needed characters left
Viewable by all users

1 answer: sort voted first

Hey. did you ever find a solution to this?

more ▼

answered Sep 07 '14 at 09:26 PM

avatar image

51 2 4 17

avatar image JPreston Sep 07 '14 at 09:47 PM

We did actually. We found that the skeletal mesh needed a dedicated root bone at the top of hierarchy, rather than as we had it using the hips as the root.

However, be warned, we also found that blending back from physics to animation caused a crash bug in our game so the feature has since been cut.


avatar image Pampers Sep 07 '14 at 09:53 PM

Aha, so when you changed the root, the physic mesh automatically stayed attached to the capsule?

I kind of got it working by simulating physics on selected bones instead of activating the full ragdoll, but had problems with the capsule component not syncing properly across server and clients.

avatar image JPreston Sep 07 '14 at 10:26 PM

Almost, you have to specify to ragdoll everything but the root, using 'set all bodies below simulate physics'.

I remember reading in the documentation somewhere that ragdoll doesn't replicate properly, so you might out of luck there.

(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