mirror of
https://github.com/Leahnaya/TheKingsRace.git
synced 2026-06-13 04:00:36 -05:00
-Added Gravity() function for all future effects to gravity
-Wallrunning functions as follows:
-If player isn't grounded & is moving forwards
-If player is above minimum ground height
-Check frontal directions with rays to see if we are hitting a wall
-If yes - no gravity, if no - normal gravity
|
||
|---|---|---|
| .. | ||
| Player.cs | ||
| Player.cs.meta | ||
| PlayerInventory.cs | ||
| PlayerInventory.cs.meta | ||
| PlayerMovement.cs | ||
| PlayerMovement.cs.meta | ||
| PlayerStats.cs | ||
| PlayerStats.cs.meta | ||