Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Joakim · Jan 30, 2013 at 06:24 PM · animationmecanimmirror

Mirror animation (mecanim)

I m following mecanim video tutorial Unity 4.0 - Mecanim Animation Tutorial

Animation pack i downloaded does not contain one of the animations used in this tutorial (WalkBackward_TurnLeft).
AngyAnt wrote: One of the features of mecanim is easily mirroring animation. This is how you should achieve a left animation based on a right animation. And that is why this package does not contain both.

"Why would you do it like that? That's stupid." Because the resulting player will only contain one copy of the animation asset in stead of two. Storage and memory gained by the tick of a button.

I dont understand how do i do this. I v noticed "mirror" checkbox but i dont know how to get two instances of this animation where one is mirrored and other is not.

EDIT1: i referenced both motions (for right walking and left walking) to WalkBack_TurnRight animation, and in one of them (supposed to be left motion) i checked "mirror" checkbox which means this one should invert TurnRight into TurnLeft, right ? But this does not happen, i just get TurnRight motion.

EDIT2: Ah i got it, partly, i mirrored motions sucessfully i got left motion from right motion. I just thought it does not work because when i would use slide bar on the "blend tree" (element which connects all motions) to adjust direction, the motions would not switch properly. I m goin to see what could i be doing wrong there

Joakim

Comment
Add comment
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

1 Reply

· Add your reply
  • Sort: 
avatar image
3
Best Answer

Answer by Joakim · Jan 30, 2013 at 09:13 PM

This is the way I sucessfully mirrored animations:

For example, lets make WalkForwardLeft animation from the WalkForwardRight animation. In fact, we need to make clips, one clip for each of those.

Similar procedure can be seen in tutorial at 17:00 - 21:00.

First, we take "WalkForwardTurnRight_ntrlMedium" clip which is avalible in unity (if you download mecanim), or we take any other "WalkForwardTurnRight_whatever" clip. Now, we need to make 2 new clips (WalkFLeft and WalkFRight) from this clip. We can't use this default clip for "WalkForwardRight" because it is not looping properly (seems most of the clips are not looping properly). So, first we make proper "WalkFRight" clip (with a nice loop) as shown in tutorial . After we did that, we make another new clip identical to "WalkForwardRight" but we name it "WalkForwardLeft" and check "mirror" checkbox.

Now we have original "WalkForwardTurnRIght_whatever" clip and 2 new clips which are identical but one of them has "mirror" checked and is called "WalkForwardTurnLeft" while other one is called "WalkForwardTurnRight" and does not have "mirror" checkbox checked.

Now we have usable walkForwardRight and walkForwardLeft clips : ).

Joakim

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Hamesh81 · Feb 02, 2013 at 05:12 AM 0
Share

I was also looking for the way to do this, I couldn't find any information in the manual. Thanks a lot!

avatar image Joakim · Feb 02, 2013 at 10:23 AM 0
Share

I'm glad this helped you ! : ) Cheers !

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

10 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Animation events firing all at once in mirrored blend tree 1 Answer

Need help mirroring quadruped animations 0 Answers

Mecanim issue with mirror animations and blend 1 Answer

Can Mecanim & Legacy animation be used on the same character? 1 Answer

Mecanim mirror mode is doing...things. 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges