Removed normalized vector
This commit is contained in:
@@ -206,7 +206,7 @@ namespace Player
|
||||
private void Jump()
|
||||
{
|
||||
BaseSpeed = MaxAirSpeed;
|
||||
_playerRigidbody2D.velocity = Vector2.up.normalized * DefaultJumpForce;
|
||||
_playerRigidbody2D.velocity = Vector2.up * DefaultJumpForce;
|
||||
_canJump = false;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user