Stopped player turning around during wall ride

This commit is contained in:
2025-03-28 14:07:24 +00:00
parent 639cb88e63
commit a972667fe4
4 changed files with 26 additions and 5 deletions

View File

@@ -65,6 +65,10 @@ public partial class PlayerMovement : MonoBehaviour
// Timer for slide boost duration left
int m_TicksOfSlideBoostLeft = 0;
// Wall riding trackers
bool m_FirstFrameWallRiding = true;
bool m_FlippedWallRideDirectionFirstFrame = false;
// Raycast hit objects
RaycastHit m_GroundHit;
RaycastHit m_SlopeHit;