1
$\begingroup$

I have a mocap animation that i want to blend into my Idle pose at both of the ends. The problem is, this animation has its root (Hips bone in this case) in different position, lower, to be exact: enter image description here

Here is what happens when it blends between Idle position: enter image description here

How to offset position of this mocap animation, so it would not sink into the ground? The Hips bone needs to be lifted up, but i don't know how to offset it with whole animation. Here is my .blend file with this scene: http://www.pasteall.org/blend/36228

$\endgroup$
  • $\begingroup$ You will have to adjust the location manually, and the reason why it is difficult to fix that is because the root bone is not aligned with the Z axis in rest position. $\endgroup$ – Denis May 25 '15 at 16:54
  • $\begingroup$ I understand, I don't have to align it 100% precisely, i just need to move whole animation above the floor - for example, something like: Offset armature position from action "1HCiecieWDolZObrotu" +100 cm on Z axis. It seems very simple, but i can't figure out how to do it. $\endgroup$ – Good Samaritan May 25 '15 at 17:20
  • 1
    $\begingroup$ Its not that simple, because of the origin bone rotation, adjustment on one z axis will change X and Y too. $\endgroup$ – Denis May 25 '15 at 17:38
1
$\begingroup$

In your mocap animation, Make sure your active action is set to the mocap action, either by selecting it in the dope sheet - action editor mode, or in the NLA editor, select the strip and hit tab to turn it green (this is known as tweak mode).

Change into the graph editor, and select the hip bone. Hide and lock all but the z-location channel. Select all channels (a key) which should only select the z-location and "grab" (by pressing the g key) the channels in the positive "y" aka up direction (constrain to up-down motion by pressing y after g) and adjust its z direction for all key-frames to one that lines up with the ground plane.

Keep in mind I usually work with the dope sheet when working with 1 action because if you edit the animation, it may not always update the NLA strip. I think some of the interface inconsistencies in blender show here and are actively being worked on (eg. the tweak mode which is new in blender 2.74ish)

$\endgroup$
  • $\begingroup$ Thanks, it worked - because of the Hips bone rotation, just like @Denis said, it's tricky to set it up into proper position (when changing Z location, it does not follow Z axis, but something between Z and Y) but i did it, by altering not only Z, but also Y location in Graph Editor. ... I guess that there is no possibility to operate on global (independent of bone rotation) coordinates in this case? $\endgroup$ – Good Samaritan May 25 '15 at 18:52
  • $\begingroup$ Yes I see, that the rotation will affect which axis. One possible solution is to add another bone, as the "rootroot" :) Parent your "root" to the "rootroot" and adjust "rootroot"'s location, since it wont rotate, it should work, but you will end up with a modified armature. $\endgroup$ – beiller May 25 '15 at 19:38

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.