Skip to content

Commit

Permalink
Merge pull request #43 from OTK-LAB/feature/Glide_NAOR-69
Browse files Browse the repository at this point in the history
Movement Update for Glide
  • Loading branch information
bozender authored Jun 3, 2024
2 parents ab155fd + 73e1001 commit 4eccba6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,7 @@ public void Move2D()
{
_newVelocity.x = VelocityOnx();
}
_newVelocity.y = Mathf.Lerp(rigidbody2D.velocity.y, _newVelocity.y, 0.1f);
rigidbody2D.velocity = _newVelocity;
localXVelovity = rigidbody2D.velocity.x;
}
Expand Down

0 comments on commit 4eccba6

Please sign in to comment.