Root motion gets accumulated while physics simulation
I have a basic walk fwd loop that uses root motion.
When I walk fwd and go into ragdoll (simulate physics), it works fine, but all the root motion still gets extracted and accumulated until the animation sequence reaches its end. While being in ragdoll it doesn't do any harm, but when I go out of ragdoll, all this accumulated motion gets added at once to the capsule, so the chracter instantly jumps forward.
Looking at the c++ character movement component class, the PerformMovement function exists early if character is in physics simulation. This makes sense to me. But why then is root motion still extracted while in physics simulation? Is this intended behaviour? I can't think of a possible use case for that. But if it is intentional, is there a way to disregard the root motion information that was extracted while being in physics simulation?
asked May 11 '16 at 08:33 PM in Using UE4
Because I've been unable to get this with my setup (I think we're doing our ragdoll/recovering in completely different ways) and it seems like something that is resolved with a change in your AnimBP, I'm going to mark this as resolved.
answered May 23 '16 at 09:16 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here