Now able to look any direction during wall ride

Also made a key bind for wallride
This commit is contained in:
2025-03-28 13:55:49 +00:00
parent b69a6028f6
commit 639cb88e63
8 changed files with 210 additions and 132 deletions

View File

@@ -78,5 +78,8 @@ public partial class PlayerMovement : MonoBehaviour
if (Mathf.Abs(v.y) < 0.1f) { v.y = 0.0f; }
if (Mathf.Abs(v.z) < 0.1f) { v.z = 0.0f; }
m_Body.velocity = v;
// Clears all stored collisions
m_WallCollisions.Clear();
}
}