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?
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It only takes a minute to sign up.
Sign up to join this communityI 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?
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.
or
.anim
file and rename it. Then, open the new animation in Unity and physically swap the keyframes.