I have a animation that moves my camera from left to right. Now I'd like to copy it with 'mirror' transformation so I can use it to move from right to left.

Is it possible to do it using script or purely in editor?

  • \$\begingroup\$ This script sounds similar to that—the answer to this might be salvageable from it anyway. \$\endgroup\$ – Anko Dec 14 '14 at 22:05

When importing the animation there is a 'mirror animation' checkbox under the Animations Tab in the Inspector for that asset.

If you check that box and rename the animation to "myanimation_mirror" or whatever then you should have 2 mirrored animations.


2 Options I'm aware of.

  1. Play the same animation but set it to -1 speed. It will play in reverse.


  1. In the OS, copy the .anim file and rename it. Then, open the new animation in Unity and physically swap the keyframes.
  • \$\begingroup\$ First option is not mirroring or flipping. It's playing the clip backwards. According to discussion here: stackoverflow.com/questions/26543197/… I'll need to stick to second option... Can you describe me how to swap keyframes painlessly please? \$\endgroup\$ – neciu Nov 4 '14 at 21:41
  • \$\begingroup\$ Click and drag the keyframes on the "master" track - the track at the top that doesn't correspond to a specific property. \$\endgroup\$ – McAden Nov 4 '14 at 22:29

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.