fixed: player jittering and death sliding
This commit is contained in:
@@ -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