BOING!!!!!!

This commit is contained in:
allylikesfrogs committed 2023-05-04 16:52:39 -07:00
1 parent 60a54adcf8
commit 368fbcb634
4 files changed
+10 -24

No files matched your search

+2 -2
View File
@@ -310,10 +310,10 @@ public class PlayerMovement : MonoBehaviour
//Caps maximum fall speed, so when falling over large distances we don't accelerate to insanely high speeds
RB.velocity = new Vector2(RB.velocity.x, Mathf.Max(RB.velocity.y, -Data.maxFallSpeed));
}
else if (playerBehavior.isInWater)
/*else if (playerBehavior.isInWater)
{
SetGravityScale(0);
}
}*/
else
{
//Default gravity if standing on a platform or moving upwards