From e484685210b4db2ee2ab21e0a71d0fe9043ae81d Mon Sep 17 00:00:00 2001 From: Carson Katri Date: Sun, 13 Jun 2021 09:15:00 -0400 Subject: Add shot indicator --- Assets/Scripts/Controllers/AIController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Assets/Scripts/Controllers/AIController.cs') diff --git a/Assets/Scripts/Controllers/AIController.cs b/Assets/Scripts/Controllers/AIController.cs index 7246023..5a3761c 100644 --- a/Assets/Scripts/Controllers/AIController.cs +++ b/Assets/Scripts/Controllers/AIController.cs @@ -71,7 +71,7 @@ namespace Controllers private static readonly int Running = Animator.StringToHash("Running"); private void FixedUpdate() { - Animator.SetBool(Running, (lastPosition - transform.position).x > 0.025); + Animator.SetBool(Running, (lastPosition - transform.position).x > 0.015); lastPosition = transform.position; } -- cgit v1.2.3-56-ge451