It "works"

It's a buggy mess but it's a working buggy mess
This commit is contained in:
Pasha Bibko
2025-04-03 13:06:55 +01:00
parent d0de96ae0a
commit 653876e56e
8 changed files with 95 additions and 15 deletions

View File

@@ -36,7 +36,7 @@ public partial class PlayerMovement : MonoBehaviour
m_Body.AddForce(slopeDir.normalized * m_SlideSpeed * m_Body.mass * 10, ForceMode.Force);
// Checks if the player wants to jump
if (m_JumpKeyPressed) { Jump(5.0f, true); }
if (m_JumpKeyPressed) { Jump(2.0f, true); }
}
// If at the start of a slide provides a boost to the player or if the player is on a slope