9

Is there a way to mirror actions that were keyed for one side to be mirrored to the other side?

enter image description here

I tried to add another x-flipped action as the button (green 1) does for the current pose. This button is only available in the pose editor.

Then I tried to copy and paste key-frame by frame (from green 2 to red 3) but it seems that we can't have two different views of the action editor. (When the selected action is changed in one action editor the other one copies the change and displays the same action)

How can an action be x-flipped mirrored into another action?

stacker
  • 38,549
  • 31
  • 141
  • 243

4 Answers4

11

To extend Leon Cheung's answer (my reputation isn't high enough to comment yet), you can achieve the same thing by selecting ALL of the keyframes from the Action Editor (press A) and pressing CtrlC, and then pressing CtrlShiftV to paste the flipped animation somewhere else. This works for the WHOLE animation, and can save more time than doing it manually (and is a whole lot less error prone).

Anonymous
  • 263
  • 2
  • 9
5

Key > Mirror > By Times over current frame does an X-flip based on the timeline cursor. If you place the cursor at the center of the keyframed range, it will flip in-place.

You may also use Key > Transform > Scale and type -1.

CodeManX
  • 29,298
  • 3
  • 89
  • 128
4

You can use the Copy/Paste operators in Action Editor, which supports multiple keyframes:

enter image description here

  • Select keyframes, then press the "copy to buffer" Button on the header, or CtrlC.
  • Switch to another action, keep the current frame marker unchanged, then CtrlV.
  • Right click on the first frame you want to flip, turn on auto-keyframe on Timeline header, hover the mouse cursor in 3D View, then CtrlC,ShiftCtrlV, to "overwrite" the existing action on that frame, for the following keyframes, you just repeat by Up Arrow, CtrlC,ShiftCtrlV to flip action on each keyframe one by one continuously. (For large number of keyframes, you may consider to make a small macro for the repeated operation to speed it up a lot).
Leon Cheung
  • 27,718
  • 11
  • 89
  • 161
3

You want to flip the pose position of one side of your armature. You do that in Pose mode, from the Pose menu in the 3D viewer. Highlight the bones you want to mirror the pose of, then go into the Pose menu and select Copy Pose. Now highlight the bones you want to copy the pose to (at the desired frame) and select Paste X Flipped Pose.

Anthony Forwood
  • 686
  • 1
  • 6
  • 19
  • That did it for me. If you want to mirror all the bones at once, you can even select all the bones Right click > Copy Pose, then while keeping the same bones selected, Right-click > Paste X Flipped Pose – Ryan Pergent Dec 10 '21 at 17:24