Unity, two animations simultaneously broadcast

Source: Internet
Author: User

Law one, Animationlayer.

A state that is in a different animationlayer can run simultaneously, where the animation can play simultaneously.

So usually a character needs at least two animationlayer, one layer for action animation, and another layer for animated emoticons. In this way, the action and expression can be implemented in any combination.

Note: The newly created layer will be weight to 1 (the default is 0) to take effect.

Law II: Blendtree.

You can create a blendtree state, add multiple animations to it, and then adjust the weights to make each animation occupy a different scale. But it does this by blending multiple animations proportionally (such as k* animation A + (1-k) * animation b) Instead of multiple animations playing simultaneously (animated A + animation B). So if we want to implement multiple animations at the same time, Blendtree is unable to meet the requirements.

Unity, two animations simultaneously broadcast

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.