Solve the troubles of Unity3d 4.3 animation system

Source: Internet
Author: User

recently, there are a lot of classmates asked me about the Unity3d 4.3 update after the animation system and was not the same, and used to create a very skilled animation and modification of the painting very many operations are not good, then here and you share the three kill personal experience, convenient for everyone to use Unity3d 4.3 of the animation system.

first of all, we have to understand that Unity3d is the gradual removal of the old animation system, replaced by the new animation system called Mecanim. so there will be change to change, the more difficult to use the situation, just wait until unity3d the old version of the animation system completely deleted, a brand-new animation system is now our eyes, look forward to it.

(The following is the effect of the application to the animation part, do not do professional animators, if there are errors please contact me, I will change)
we want to solve the problem:
I. Why do I take the initiative to create the animator file, what is the difference between the animator file and the animation file?
two. Why the animation I created in the loop plays, how talent only play once.
three. How to use the animation created repeatedly.
Four. Max exported animation Why can't change, even if can change why not k material of the same brightness.

to solve one. 4.3 Before we add an animation to an element is not generated by the animator file, but 4.3 creates an animation and creates one of these files on its own initiative.


, then what does she mean? Answer Animator Filemeans that: Animation Controller The animation controller controls the animation by animating the state machine in the animation layer, as well as a mixed tree controlled by the number of parameters. The same animator controller can be referenced by multiple models using animator components.

that animationcreated before 4.3 will be displayed directly to your reference panel


What does she mean by that? AnswerAnimated Clips animated data that can be used for characters or simple animations. It is a simple "unit" of action, such as "spare", "walking" or "running" (for example) ..

the difference between the two, for example, if animation is the Earth, then animator is the Milky Way, it is possible that this analogy is not appropriate.
your animator can include multiple animation, which is one place where the animation system is gradually improving.

4.3 version numberWhen you create an animation for an element, she creates a animator file that is named after your current element name, which is saved in the directory you saved in your animation. Instead of just having a animation file as it once did.

when we check animator, we'll find this in the Parameters panel .

things, continue to open Open will find us into another world

Well, we're done here, because this thing is more complicated to go to the Unity3d holy Scriptures to view the corresponding manual.

solve two: How to let the animation only play once, this problem is relatively simple, but there are very many students can not find, first please select your animation file, of course, this animation file is called animation and is created in Unity3d, Iwe will find such a number of participantsPanel,
when I mark the red part to adjust the number of animations, you can try checking or not checking to see if your animation has changed.

Solution Three: How to reuse a good animation before. In the previous version number we will directly pull the animation animation directly to the element can be, but now not, we need to build a animator here




once created, you can specify your animator file in this one-count panel.

Here's what you need to say. If you want to fine-tune the duplicate animations, you need to enter



this panel is up.

solve four: Max imported animation Why can't change, even if can change why not k material of the same brightness. I think this piece is very many students are confused place, it's okay we come together to solve.
first, be sure to verify the correctness of the animation you exported at max.
after the export, we put it in the Unity3d.
(the material does not display to give a material, animation will change the legacy animation options, I believe you can search this article the two issues have already been overcome)

He includes a grid and an animated file, and of course another material file package is not here.
pull the test out of the scene

Note that the Animation animation module, without the animator file module, shows that the new animation system has not evolved completely.
Okay, so we're trying to fix the painting ctrl+6 problem arises.

the red-framed part, read-only hair meaning? This is the animation does not let us change, see is able to see, but can not touch hands.
you however persuasive me outsmart, copy this animation file called Take 001 rename here My name is AAA, and once again point back to the element test.


Pay attention to the part where I marked the red box, so make sure to change it.
this time we'll ctrl+6 .


let Read-only go to hell, this time we have conquered Unity3d, where we can change the original position, rotation, scaling properties


Next add Color control



But the problem arises again, what transparency do I want? I think K-transparency why not?
What's the situation?
This may be attributed to the fact that the Unity3d animation system is not completely updated.
just the words, you however persuasive me outsmart.
first of all, to make sure that our material type is able to adjust color and transparency in the Unity3d animation system, I say what I can adjust:
The usual particle overlay pattern is capable of ..... such as What is not able is to hand-swim the particle part, they are not supported. So let's be bold and try all shader ways.
A.. We use the shader of the particle Add method.
two.. We're going to create an empty set Ctrl+shift+n (coordinates 0)
three.. Pull the test to the empty set .
four.. Animate this empty set
Five.. K The frame of this empty set material
Six.. Success




Well, there should be applause here.

Solve the troubles of Unity3d 4.3 animation system

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.