From 184e44f0e8010aed687ca07c04c36cffffd1aef5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Denis=20Nu=C8=9Biu?= Date: Sun, 2 Jun 2019 18:52:14 +0300 Subject: [PATCH] Move HandleMovement in FixedUpdate --- Assets/Scripts/src/Player/PlayerController.cs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Assets/Scripts/src/Player/PlayerController.cs b/Assets/Scripts/src/Player/PlayerController.cs index 9d59b1c..aa10f12 100644 --- a/Assets/Scripts/src/Player/PlayerController.cs +++ b/Assets/Scripts/src/Player/PlayerController.cs @@ -19,9 +19,13 @@ namespace src.Player Respawn(); } - private void Update() + private void FixedUpdate() { HandleMovement(); + } + + private void Update() + { HandleBomb(); }