fixed: player jittering and death sliding
This commit is contained in:
1 parent
14a4de41cc
commit
46f7cfe07e
5 files changed
+9
-107
No files matched your search
@@ -80,6 +80,8 @@ public class PlayerMovement : MonoBehaviour
|
||||
{
|
||||
if (playerBehavior.playerIsAlive) {
|
||||
this._moveInput = value.Get<Vector2>();
|
||||
} else {
|
||||
this._moveInput = Vector2.zero;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user