Added wall riding section

This commit is contained in:
Pasha Bibko
2025-04-26 15:13:00 +01:00
parent b60144e461
commit 261b6e9b27
5 changed files with 3592 additions and 13 deletions

View File

@@ -23,8 +23,8 @@ public partial class PlayerMovement : MonoBehaviour
{ m_State = PlayerState.SLIDING; }
// Checks if the player is in the wall running state
// else if (GetNormalOfClosestCollider(out m_WallNormal) && m_WallRunKeyPressed)
// { m_State = PlayerState.WALL_RUNNING; }
else if (GetNormalOfClosestCollider(out m_WallNormal) && m_WallRunKeyPressed)
{ m_State = PlayerState.WALL_RUNNING; }
// Defaults to ruuning
else { m_State = PlayerState.RUNNING; }