Unity mecanim animation
Apply root motion is checked, 整个骨骼都会在场景中改变位置。 not checked,骨骼只会相对的移动(就像在跑步机上)不会改变在场景重的位置。

public class AnimatorTest : MonoBehaviour {
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
}
void OnAnimatorMove()
{
}
}
如果添加脚本,中含有OnAnimatorMove

就会出现handled by script。
Edit transition

可以添加多个transition,比如控制speed 的范围 〉 〈
3.Create blend tree
1. add blend tree.
2.double click blend tree





浙公网安备 33010602011771号