changing dash params

This commit is contained in:
allylikesfrogs 2023-05-06 14:46:20 -07:00
parent 3d93b3840b
commit 491fda25c7
2 changed files with 2573 additions and 3732 deletions

File diff suppressed because it is too large Load Diff

View File

@ -111,7 +111,7 @@ public class PlayerBehavior : MonoBehaviour
if (!playerController.IsGrounded() && isDash && (currentDash < dashTime)) {
if (!forceAdded) {
dashVec = new Vector2(1f * forward, -1f) * dashForce;
dashVec = new Vector2(0.5f * forward, -1f) * dashForce;
_rb.AddForce(dashVec, ForceMode2D.Impulse);
forceAdded = true;
}