fixed: player jittering and death sliding

This commit is contained in:
Sam
2023-04-30 23:53:52 -07:00
parent 14a4de41cc
commit 46f7cfe07e
5 changed files with 9 additions and 107 deletions

View File

@@ -80,6 +80,8 @@ public class PlayerMovement : MonoBehaviour
{
if (playerBehavior.playerIsAlive) {
this._moveInput = value.Get<Vector2>();
} else {
this._moveInput = Vector2.zero;
}
}