Portal rendering 1/2 done

This commit is contained in:
Pasha Bibko
2025-04-01 19:21:37 +01:00
parent 8610868924
commit 70a71a06e5
19 changed files with 2904 additions and 118 deletions

View File

@@ -46,8 +46,6 @@ public partial class PlayerMovement : MonoBehaviour
m_Grounded = Physics.Raycast(transform.position, Vector3.down, out m_StandingOn, m_PlayerHeight * 0.5f + 0.3f, m_GroundMask);
m_OnSlope = m_StandingOn.normal != new Vector3(0.0f, 1.0f, 0.0f) && m_Grounded;
Debug.Log(m_OnSlope + " | " + m_StandingOn.normal);
// Checks the player is far enough of the ground to start wall running
m_IsFarEnoughOffGroundToWallRide = m_StandingOn.distance > m_DistanceOfFloorToWallRide;