mirror of
https://github.com/PashaBibko/The-Mobius-Line.git
synced 2026-04-04 01:49:07 +00:00
Made wall-riding able to turn corners
Also changed air drag
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user