![]() ![]() The range of the parameter used by the Blend Tree is shown below the diagram as two numbers to the left and right. If you press Play in the Preview at the bottom of the Inspector and drag the red bar in the diagram left and right, you can see how the value of the parameter is controlling the blending of the different motions. The red vertical bar indicates the value of the Parameter. The diagram at the top of the Blend Tree Inspector visualizes the weights of the child motions over the range of the parameter values. This is also called the threshold of the motion. The peak of each pyramid defines the parameter value where the motion has full influence, meaning that its animation weight is 1 and the other animations have a weight of 0. Each motion is shown as a little blue pyramid (the first and last are only shown in half), and if you click and hold down the left mouse button on one them, the corresponding motion is highlighted in the motion list below. The diagram at the top of the Inspector shows the influence of each of the child motions as the parameter varies between its minimum and maximum values. When you’re done, it should look something like this: A 1D Blend Tree with three Animation Clips. Then you can add individual animations by clicking the small “+” button and selecting Add Motion Field from the popup menu. ![]() In this example, the parameter is direction which varies between –1.0 (left) and +1.0 (right), with 0.0 denoting a straight run without leaning. ![]() 1D Blending blends the child motions according to a single parameter.Īfter setting the Blend Type, the first thing you need is to select the Animation Parameter that will control this Blend Tree. This drop-down is used to select one of the different blend types that can blend according to one or two parameters. More info See in Glossary is the Blend Type. More info See in Glossary of a Blend Node A node in a Blend Tree graph that blends animation clip nodes. The first option in the Inspector A Unity window that displays information about the currently selected GameObject, asset or project settings, allowing you to inspect and edit the values. ![]()
0 Comments
Leave a Reply. |