Made wall-riding able to turn corners

Also changed air drag
This commit is contained in:
2025-03-28 14:29:03 +00:00
parent a972667fe4
commit 01e700a00e
5 changed files with 234 additions and 11 deletions

View File

@@ -24,6 +24,10 @@ public partial class PlayerMovement : MonoBehaviour
m_Body.drag = m_SlideDrag;
break;
case PlayerState.WALL_RUNNING:
m_Body.drag = m_WallRideDrag;
break;
default:
// Applies different drag depending on if the player is on the ground or not
if (m_Grounded)