Added prototype materials

I'm going to run out of storage aren't I
This commit is contained in:
2025-03-26 12:04:25 +00:00
parent 72285f2678
commit 8dd1bf8772
30 changed files with 9122 additions and 9 deletions

View File

@@ -5,6 +5,7 @@ public class PlayerMovement : MonoBehaviour
[Header("General Settings")]
[SerializeField] float m_MoveSpeed;
[SerializeField] float m_GroundDrag;
[SerializeField] float m_AirDrag;
[Header("Ground Check")]
[SerializeField] float m_PlayerHeight;
@@ -58,10 +59,10 @@ public class PlayerMovement : MonoBehaviour
m_Body.drag = m_GroundDrag;
}
// Else there is no drag on the player
// Else it applies the air drag to the player
else
{
m_Body.drag = 0;
m_Body.drag = m_AirDrag;
}
}