Hi folks,I have a rolling animation that when being done moves character location from its place some meters away, but when the animation finishes the character would get back to its first location oddly.
I am using state machines and boleans for transitions between states.
How can I keep the final location where the animation finishes there and start walking around from this new location?
When the root motion isnt enabled the animation is being played correctly but as expected the capsule doesnt follow and it snaps back which is problematic.
The problem is when I enable the root motion so that it doesnt play animation correctly(it moves out of direction which is supposed to play anim) and results in character standing tilted
you may have to change the root motion mode inside the Anim Blueprint Editor , or adjust the root bone animations in your modelling software, but RootMotion is the solution for fixing that “snap back after animations” problem.
In fact Im using Mixamo animation.I figured out that the root bone of Mixamo animations are not at (0,0,0) which can be where this problem stems from.
It is also mentioned in the document page you provided me with in a reddish box { In order to properly use Root Motion, it is important to note that the Root Bone of your character should be at the origin (0,0,0 with no rotation) as this allows the system to isolate physical movement (capsule) from animated movement (character).}
Now the snapping back problem is resolved thanks to your help but is there a way in unreal to fix this new problem or should I get an animation which is compatible with unreal?
Howto get Mixamo rootmotion into UE4:
i haven’t personally watched this video, but since its title is
“Howto get Mixamo rootmotion into UE4”, and it has 18 times as many upvotes as downvotes, i assume it might help.
im not sure if they fix it in UE4 or Miximo’s app, but if you find the solution in that video, please summarize it here, in case that video doesn’t exist in the future.
Hi there.
This video uses Maya software to fix the problem and it seems to pay off. But remember that there is a 2nd part to it as well.
As Im not an animation artist and not familiar with Maya I couldnt use his method, but I could figure out a way (kind of cheating) to fix it in which you get rid of snapping back though you dont enable root motion. If you are interested I can put some screenshots.