问题描述:将跳跃动画播放时匹配手部动作,但是添加代码以后不能跳跃
单独:if (PlayerAnimator.GetFloat(speedZID) > 3)
和 if (PlayerAnimator.GetCurrentAnimatorStateInfo(0).IsName("Vault"))
{
PlayerAnimator.MatchTarget(matchTarget, Quaternion.identity, AvatarTarget.LeftHand, new MatchTargetWeightMask(Vector3.one, 0), 0.32f, 0.4f);
}注销的时候能播放。
添加&& PlayerAnimator.GetCurrentAnimatorStateInfo(0).IsName("Locomotion")
和取消上面判断的时候动画不能播放。