Moving Component with Attached Physics Asset Updating Bug
I am currently working on ragdoll physics and how to blend from the physics back to animations.
Normally when blending from physics back to animation the skeletal mesh moves back to the capsule. However, I want the capsule to move to the mesh. So every tick when I blend back from the physic to animation I look how much the mesh moved back to the capsule and apply this movement in the opposite direction onto the capsule.
Here is a screenshot of the blueprint:
This solution works pretty good and the capsule moves to the mesh. However, the mesh still moves a little bit towards the capsule and then moves back to the location it was before. The "get socket location" also returns a different value than where the socket is actually rendered (the value it returns is the location where the socket should be (means the "get socket location" for the root value stays at the exact same place)). Attached meshes also behave like they should (and like the main mesh should). For example if I attach a mesh to a socket / bone on the mesh, the attached mesh stays exactly in the location where I want it to, but the main mesh still moves a little bit to the capsule.
Here is a video of the problem: (sorry for crappy quality - I have an upload of 10KB/s max so I had to compress it really much) https://www.dropbox.com/s/4302i5sg825pxgf/UE4physicsBUG.mp4?dl=0
I am working with slow motion there so it's easier to see. I attached some meshes to certain sockets and as you can see when I blend back to animation and move the capsule to the mesh the socket attachments get updated like they should but not the main mesh.
So is this a known bug? Is this a bug? Is there a workarround?
Best Regards, Joey
asked Jul 11 '15 at 01:12 PM in Bug Reports
I was able to reproduce this and have entered a bug report, UE-19218, to be assessed by the development staff.
answered Jul 27 '15 at 05:51 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here