diff options
author | Carson Katri <carson.katri@gmail.com> | 2021-06-13 09:15:00 -0400 |
---|---|---|
committer | Carson Katri <carson.katri@gmail.com> | 2021-06-13 09:15:00 -0400 |
commit | e484685210b4db2ee2ab21e0a71d0fe9043ae81d (patch) | |
tree | 3600db992d98dfbc516fd7a5f8783bc871f04438 /Assets/Scripts/Controllers/AIController.cs | |
parent | c65c617e2031aa6ece4fa6831891fcf1e13662d4 (diff) | |
download | gmtk-gamejam-e484685210b4db2ee2ab21e0a71d0fe9043ae81d.tar.gz gmtk-gamejam-e484685210b4db2ee2ab21e0a71d0fe9043ae81d.tar.zst gmtk-gamejam-e484685210b4db2ee2ab21e0a71d0fe9043ae81d.zip |
Add shot indicator
Diffstat (limited to 'Assets/Scripts/Controllers/AIController.cs')
-rw-r--r-- | Assets/Scripts/Controllers/AIController.cs | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |