CombatAi Animator speed 값 변경

This commit is contained in:
NTG_Lenovo 2023-09-20 14:01:46 +09:00
parent 517dbfde0d
commit 4e7987ee0d

View File

@ -67,7 +67,7 @@ namespace BlueWaterProject
{
if (combatAnimator.runtimeAnimatorController != null && combatAnimator.isActiveAndEnabled)
{
combatAnimator.SetFloat(SpeedHash, combatAgent.velocity.normalized.magnitude);
combatAnimator.SetFloat(SpeedHash, combatAgent.velocity.magnitude);
}
UpdateLookAtTarget();
}