diff --git a/Assets/PC2D/Scripts/PlatformerMotor2D.cs b/Assets/PC2D/Scripts/PlatformerMotor2D.cs index 7dc8541d..9f5339ec 100644 --- a/Assets/PC2D/Scripts/PlatformerMotor2D.cs +++ b/Assets/PC2D/Scripts/PlatformerMotor2D.cs @@ -2564,7 +2564,14 @@ private void ApplyMovement() _velocity.x > 0 && _collidedNormals[DIRECTION_RIGHT] == Vector2.left) { - _velocity.x = 0; + if (IsGrounded()) + { + velocity = Vector2.zero; + } + else + { + _velocity.x = 0; + } } if (IsGrounded() &&