Unity3D game development-Unity3D animation and Mecanim animation system, unity3dmecanim

Source: Internet
Author: User

Unity3D game development-Unity3D animation and Mecanim animation system, unity3dmecanim



Mecanim is a new animation System of Unity. It is powerful and flexible, bringing human and non-human roles to life. Mecanim redirection greatly improves productivity and occupies a very small CPU cycle. Use the animation resources found from the Unity resource store, or import your own animation files (motion capture or key frames) into the editor to start or implement the entire project, and convert them to your own customizable animation resources.

Easily build and edit complex state machines and hybrid trees. The Unity Editor provides powerful tools to split, create loops, and extract tracks from imported animation files. These animated clips can then be used as leaves of a multi-layered hybrid tree or as a State in a layered state machine. The hybrid tree allows you to create a variety of motion with only a few animated clips. In the hybrid tree editor, you can define hybrid parameters and preview a hybrid animation in a 3D view.

You can use the automatically created IK (Reverse dynamics) skeleton.

To put it simply, the azimuth of the child is obtained from the azimuth of the parent bone and the relative transformation of the Child bone, which is called Forward Kinematics, FK, and Inverse kinematics (IK) the method is to first determine the Child Bone's orientation, and reverse export the n-level parent bone's orientation on the inheritance chain to determine the entire bone chain.

In the MecAnim role animation system, follow these steps to implement role animation in Unity:

1. Import role Animation

2. Create a role animation Avatar

3. Add the role animation controller, set the state machine, and set the hybrid tree.

4. Implement encoding and other control role Animation






Related Article

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.