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 Zelek · Feb 09, 2014 at 12:48 AM · animationcontrollermecanim

How to customize an Animator Controller?

If I create an animator controller that I want to reuse for multiple characters, how can I customize the animations for each character?

For example, say I create a large animator controller with walking, running, jumping, etc. I then apply it to two character GameObjects. I want the first character to look different than the second. But it appears that any changes I make to the animations are applied to everything that uses that controller.

In the official Unity tutorial, Mike Geig says that it should work: www.youtube.com/watch?v=Xnyb2f6Qqzg&feature=youtu.be&t=36m2s

Anyone have an idea? Is it a bug in Unity?

Comment
Add comment · Show 2
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 instruct9r · Feb 10, 2014 at 06:24 PM 0
Share

I think the idea of using one Char Controller for many characters is to make them use the same animations. Some variations are possible as well, so the characters doesn't look identical whe moving. 1: What do you mean by any changes that you make to the animator are applied to everything that uses the controller. Well you have one controller, if you make changes to it, it will add the changes to every character that uses that controller, this is how it's suppose to work. 2: If you want one controller and 2 different walks for example, you can add these 2 walks as 2 separate clips in the Animator and then activate them with 2 different parameters. You can use this way for making a lot of different animations to activate.

avatar image Zelek · Feb 10, 2014 at 07:42 PM 0
Share

Thanks for your comment, I really appreciate it. I just recently found this post on the Unity forums which describes how to use one controller for multiple characters by overriding the animation clips in code:

http://forum.unity3d.com/threads/179541-$$anonymous$$ecanim-Change-the-motion-of-a-state-in-code?p=1475888&viewfull=1#post1475888

This seems to do exactly what I need, and saves me from having to duplicate my controller dozens of times.

0 Replies

· Add your reply
  • Sort: 

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

19 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 avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Skills controlled by animation (event callbacks and parameters) 0 Answers

Can the mecanim animators Controller var be set in code? 1 Answer

Using Override Animation Controllers (NOT WORKING) 0 Answers

Create new Mecanim parameter from code? 1 Answer

How to get fileID information so i can just edit Mecanim Animator through script? 2 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