Animation state machine (2)

Source: Internet
Author: User
4. anyStates (any State) AnyStates is a special State that always exists. It is used when another specified state is required regardless of the status of the current role, this is a convenient way to add public exit states for animation states. In particular, anyStates cannot exist as an independent object. animat

4. anyStates (any State) AnyStates is a special State that always exists. It is used when another specified state is required regardless of the status of the current role, this is a convenient way to add public exit states for animation states. In particular, anyStates cannot exist as an independent object. animat

4. any States (any status)

Any States is a special State that always exists. It is used to enter another specified State regardless of the current role status, this is a convenient way to add public exit States for animation States. In particular, any States cannot exist as an independent object,

5. animation transition (animation transition)

Animation transition refers to the behavior event that occurs when an animation state is too large to another. Note that only one animation transition can be performed at a specific moment.

Atomic: whether the current animation transition is an Atomic operation, that is, whether it can be interrupted.

Condition: determines when the animation transition is triggered.

A condition contains the following information:

An event parameter (it can also be a normalized exit time, that is, the normalized expression of the exit time point relative to the length of the entire animation fragment, for example, 0.95 indicates that the animation is at the 95% position of the entire clip)

An optional condition assertion, such as greater than or less than a floating point number

An optional parameter value

You can drag the start value and end value of the overlapping area to adjust the excessive conditions of the two animations.

6. animation parameters

Animation parameters is a series of variables defined in the Animation system. A single page can be accessed and assigned by a script. For example, a parameter value can be updated by an Animation curve and then accessed by a script. Similarly, the script can also set the parameter value first and then be used by the Mecanim system.

The default parameter values can be set in the parameters toolbar in the lower-left corner of the animator window,

Vector: point in space

Int: integer

Float: Floating Point Number

Bool: Boolean Value

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.