mirror of
https://github.com/PashaBibko/The-Mobius-Line.git
synced 2026-04-04 01:49:07 +00:00
Added wall riding section
This commit is contained in:
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user