Fixes? and side channels.

This commit is contained in:
2022-05-17 19:09:50 +07:00
parent b5aff44f79
commit e976a3fbff
18 changed files with 454 additions and 90 deletions

View File

@ -30,8 +30,7 @@ namespace Animators.Leonid_Animator.Bot
public void UpdateAnimatorValues()
{
var movementDir = _movementController.Velocity;
_myAnimatorHandler.UpdateAnimatorValues(movementDir.y, movementDir.x,
_myAnimatorHandler.UpdateAnimatorValues( Mathf.Clamp01(movementDir.magnitude), 0,
false, _npc.NpcBodyState is NpcCrouchingState, _npc.IsFiring);
}
}